npm-package-project
自定义基础组件
前端打包上传至npm
注意:
- 发布时如果命名@huiye/front-core,需在npm网站先新建同名organization,必须同名[huiye] 2.公共组件发布: npm run build 切换仓库 npm config set registry https://registry.npmjs.org/ 登录仓库 npm login --registry https://registry.npmjs.org/ 发布到仓库 npm publish --registry https://registry.npmjs.org/