This commit is contained in:
frostime 2023-05-26 17:47:09 +08:00
parent 44e0010f6a
commit 3cf80f7d2d
2 changed files with 8 additions and 1 deletions

View file

@ -3,6 +3,9 @@
[中文版](./README_zh_CN.md)
> Come up with [siyuan/plugin-sample](https://github.com/siyuan-note/plugin-sample) [v0.0.6](https://github.com/siyuan-note/plugin-sample/tree/v0.0.6).
1. Using vite for packaging
2. Use symbolic linking instead of putting the project into the plugins directory program development
3. Built-in support for the svelte framework

View file

@ -1,7 +1,11 @@
[English](./README.md)
# 使用 vite + svelte 的思源笔记插件示例
[English](./README.md)
> 本例和 [siyuan/plugin-sample](https://github.com/siyuan-note/plugin-sample) [v0.0.6](https://github.com/siyuan-note/plugin-sample/tree/v0.0.6) 基本保持一致。
1. 使用 vite 打包
2. 使用符号链接、而不是把项目放到插件目录下的模式进行开发
3. 内置对 svelte 框架的支持