hel-hrportal-component
v0.0.4
Published
A simple remote vue3 comp template(typescript、dev with vite or webpack, build with webpack ), see [online usage](https://codesandbox.io/s/demo-load-remote-vue3-comp-2fd34s?file=/src/main.js)
Downloads
6
Readme
hel-tpl-remote-vue3-comps-ts
A simple remote vue3 comp template(typescript、dev with vite or webpack, build with webpack ), see online usage
desc
- vite 开发
npm run start:vite
- webpack 开发
npm run start
- 打包与发布
先修改版本号,再执行打包与发布命令(这点很重要,顺序不能弄反为:先构建再修改版本号)
npm run build
npm publish
构建是基于webpack构建
how to make project skeleton
npm i @vue/cli -g
vue create hel-tpl-remote-vue3-comps-ts --packageManager=npm
cd hel-tpl-remote-vue3-comps-ts
// https://github.com/IndexXuan/vue-cli-plugin-vite
vue add vite