Comments (3)
你说的打包发布的问题指的是发组件npm包还是发组件库文档?我理解你的问题应该是组件库文档。如果是文档项目的话,不用想得这么复杂。我现在处理就是直接把每个组件demo打包到 vitepress
的 dist
里。
你看 docs:build
的命令,其实就是将每个组件库的 组件demo 打包到 vitepress
里,在每个组件库里的 vite.config
里面有针对 mode
为 docs
的配置处理,将打包后的产物输出目录放到 vitepress
下。如果感兴趣,你可以拉到本地自己跑一下 docs:build
。
from much-more-design.
66666666666666666, 明白了,我想多了
from much-more-design.
iframe 背景内个透明不了为啥~~
from much-more-design.
Related Issues (7)
- 关于pnpm-lock.yaml生产 HOT 3
- 关于vite跑docs模块 HOT 1
- 报错 HOT 2
- 这些环境变量在哪里设置的 HOT 1
- 这个正则匹配结果为null? HOT 2
- 我这个引入为什么报错?里面代码都一致
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from much-more-design.