0.2.3 • Published 1 year ago

@dxsixpc/create v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@dxsixpc/create

NPM version NPM downloads

简介

前端项目脚手架

快速生成 react 项目

使用

全局安装

npm install -g @dxsixpc/create

全局安装完成后,可直接使用 create 命令

create

通过 npx 直接使用

npx @dxsixpc/create

命令参数

npx @dxsixpc/create --help

开发

脚手架开发

脚手架调试运行

方式一:
// 将本地项目链接到全局
npm link
// 全局可使用create命令执行
create
方式二:
// 直接使用node运行代码
node src/index.mjs

脚手架代码打包发布

// 打包
npm run build
// 发布
npm publish

文档开发

文档调试运行

npm run start
或
npm run dev

文档打包

npm run docs:build

文档发布

npm run docs:deploy

文档一键打包发布

npm run deploy

License

MIT © dxsixpc