You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To publish your theme, simply run `npm publish` and you are good to go. There is no build process required (which means you can directly publish `.vue` and `.ts` files, Slidev is smart enough to understand them).
53
+
54
+
Addon contribution points follow the same conventions as local customization, please refer to [the docs for the naming conventions](/custom/).
55
+
56
+
## Addon metadata
57
+
58
+
### Slidev Version
59
+
60
+
If the addon is relying on a specific feature of Slidev that are newly introduced, you can set the minimal Slidev version required to have your addon working properly:
61
+
62
+
```json
63
+
// package.json
64
+
{
65
+
"engines": {
66
+
"slidev": ">=0.32.1"
67
+
}
68
+
}
69
+
```
70
+
71
+
If users are using older versions of Slidev, an error will be thrown.
0 commit comments