Go to file
2023-02-01 17:52:53 +08:00
plugin first commit 2023-02-01 17:52:53 +08:00
public first commit 2023-02-01 17:52:53 +08:00
src first commit 2023-02-01 17:52:53 +08:00
.gitignore first commit 2023-02-01 17:52:53 +08:00
bolt.config.ts first commit 2023-02-01 17:52:53 +08:00
index.html first commit 2023-02-01 17:52:53 +08:00
package-lock.json first commit 2023-02-01 17:52:53 +08:00
package.json first commit 2023-02-01 17:52:53 +08:00
pnpm-lock.yaml first commit 2023-02-01 17:52:53 +08:00
readme.md first commit 2023-02-01 17:52:53 +08:00
tsconfig.json first commit 2023-02-01 17:52:53 +08:00
tsconfig.lib.json first commit 2023-02-01 17:52:53 +08:00
tsconfig.node.json first commit 2023-02-01 17:52:53 +08:00
tsconfig.prod.json first commit 2023-02-01 17:52:53 +08:00
vite.config.ts first commit 2023-02-01 17:52:53 +08:00

quick start

pnpm install

构建产物

pnpm build
  • dist 文件夹 doc 是文档站,直接部署到 web容器。路由 history模式,配合 nginx 开启 nginx 伪静态

  • dist 文件夹 ui 为 组件库 ,直接ESModule引入项目

  • src/pages 文件夹自定义页面,bolt.config.ts 配置引入

  • src/components 为组件开发目录,基本组成:

    • index.tsx 组件的代码
    • index.less 组件的样式
    • props.ts 组件 api 接口
    • index.mdx 组件文档说明