0.0.2 • Published 3 years ago
yjj-ui v0.0.2
Getting Started
dumi指南:https://v1.d.umijs.org/zh-CN/guide
# 初始化一个站点模式的组件库开发脚手架
$ yarn create @umijs/dumi-lib --siteInstall dependencies,
$ npm iStart the dev server,
$ npm startBuild documentation,
$ npm run docs:buildRun test,
$ npm testBuild library via father-build,
$ npm run build如何发布到npm
1.注册npm账号
2.npm config set registry https://registry.npmjs.org
从2021年10月4日开始,所有前往 npm registry 的连接,都需要使用 TLS 1.2 了.
3.npm install -g https://tls-test.npmjs.com/tls-test-1.0.0.tgz
4.npm login
5.npm run build
6. npm publish