siyuan-community / siyuan-developer-docs Goto Github PK
View Code? Open in Web Editor NEWUnofficial documentation for SiYuan community developers.
Home Page: https://docs.siyuan-note.club
License: GNU Affero General Public License v3.0
Unofficial documentation for SiYuan community developers.
Home Page: https://docs.siyuan-note.club
License: GNU Affero General Public License v3.0
有时候开发插件不可避免的要使用一些第三方库,教程里能否增加一部分这方面的内容方便快速入门?
比如,如何调用node自身的fs、path这类内置库并打包(如使用const fs = window.require('fs')可以成功打包,但是没法在伺服环境中使用,这种坑可能也需要讲解一下?)
以及如何安装并调用其他第三方库,如ffmpeg.js langchain.js这种,直接用pnpm安装然后在index.ts 中import,在编译的时候往往会有依赖包报错,感觉像是electron限制了打包能力。
希望有时间出一个这方面的教程讲解一下
目前的文档,在一些情况下会出现 404。
进入:事件总线,然后点击侧边栏里,图中的 Plugin
,就能复现。
出现这个问题,是因为用了在 base
里使用了相对路径 ./class/
,换成 base: '/zh-Hans/reference/api/plugin/class/'
并不会出现这个问题。
在最新的 VitePress 文档里,我并没有看到相关的介绍。并且在 0bc74c5 这一次提交里,我看到是故意这么改的。
由于不确定改动原因,以及对 VitePress 的不熟悉,我没有提交 PR。 @Zuoqiu-Yingyi 看看应该怎么处理?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.