Giter Club home page Giter Club logo

plugin-sample's People

Contributors

88250 avatar dependabot[bot] avatar frostime avatar howcanoewang avatar kecrily avatar vanessa219 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

plugin-sample's Issues

关于插件名称的疑惑

文档说:

通过 Use this template 按钮将该库文件复制到你自己的库中,请注意库名必须和插件名称一致

  1. 这里的插件名指的是 plugin.json 的 name 字段吗?
  2. github 的 repo 名称必须和 name 保持一致?
  3. 那也就是说,插件名必须是英文,不能为中文?

如果插件名必须为英文的话,那我觉得有点不妥。

插件系统能够热更新吗

使用webpack直接输出到plugins文件夹内,思源能够实现检测文件变化,并且重新加载插件吗。

我现在是每生成一次都重启一次思源。

是否可以有一个单独热更新当前插件的功能

模板使用问题

clone模板,pnpm i后,会显示异常,似乎是会去使用node_modules下的siyuan.d.ts而不是src下的

去掉 package 中 siyuan 依赖

既然后续的插件开发使用的接口直接定义在 siyuan.d.ts 当中,那 package.json 中的 siyuan@latest 依赖是不是可以去掉了?

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.