el-pack

对elementUI部分组件的封装

Usage no npm install needed!

<script type="module">
  import elPack from 'https://cdn.skypack.dev/el-pack';
</script>

README

el-pack

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

框架相关参数说明

框架基于:

element-ui@2.14.1 vue-cli@2.9.6

npm run build-bundle // 没有npm ,在官网上注册一个 npm login // 根据提示输入相关信息 npm publish // 每次发布的版本号需要不一致

参考博客文章:https://www.cnblogs.com/laixihongblog/p/11753483.html