Skip to content

ObsidianPluginFramework

A UI framework the bundler adapters compile.

  • react and preact compile JSX with the automatic runtime from react / preact. - solid compiles JSX with babel-preset-solid. - svelte compiles .svelte components and .svelte.ts / .svelte.js modules with the project’s svelte. - vue compiles single-file components with unplugin-vue (on parcel, with @parcel/transformer-vue).

Import:

import type { ObsidianPluginFramework } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-features';

Signature:

export type ObsidianPluginFramework

Signature:

type ObsidianPluginFramework = 'preact' | 'react' | 'solid' | 'svelte' | 'vue'

Type: ‘preact’ | ‘react’ | ‘solid’ | ‘svelte’ | ‘vue’


Links to this page: