0.0.2 • Published 1 year ago

yjj-ui v0.0.2

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

Getting Started

dumi指南:https://v1.d.umijs.org/zh-CN/guide

# 初始化一个站点模式的组件库开发脚手架
$ yarn create @umijs/dumi-lib --site

Install dependencies,

$ npm i

Start the dev server,

$ npm start

Build documentation,

$ npm run docs:build

Run test,

$ npm test

Build 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