Framework
meta.stow.framework is required and helps buyers discover blocks for their framework.
The following frameworks are supported. The value is case sensitive and must match exactly.
| Value | Description |
|---|---|
React | React components and blocks. |
Vue | Vue single file components and blocks. |
Svelte | Svelte components and blocks. |
React
Use React for blocks built with React, including those using JSX or TSX files.
Vue
Use Vue for blocks built with Vue, including single file components (.vue files) and composables.
Svelte
Use Svelte for blocks built with Svelte, including .svelte components.
Example
{
...
"meta": {
"stow": {
...
"framework": "React"
}
}
}{
...
"meta": {
"stow": {
...
"framework": "Vue"
}
}
}{
...
"meta": {
"stow": {
...
"framework": "Svelte"
}
}
}