bfehub / vmi Goto Github PK
View Code? Open in Web Editor NEW用于组件开发场景的 VuePress 的插件和主题。
Home Page: https://bfehub.github.io/vmi/zh/guide/
License: MIT License
用于组件开发场景的 VuePress 的插件和主题。
Home Page: https://bfehub.github.io/vmi/zh/guide/
License: MIT License
之前的方法在 md 文件中写死的情况下确实是可行的,但是在实时分析 标签并渲染组件的情况下不太可行。
逻辑大致是这样:在 html_inline 函数中解析 并渲染 demo 和 demo 源码,同时往 store 里存 demo 的组件名称和路径;然后在 render 中添加 <script setup> 注册 demo 组件。
但问题在于 render 函数是先于 html_inline 函数执行的,因此并不能正确的拿到 store 的组件名称和路径。
我想了很多方法始终解决不了这个问题,麻烦解答一下,万分感谢!!!
这个太棒了, 完全模拟了dumi, 如果能提供 dumi那样的codespanbox链接 就更完美了
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.