eternal-form

0.1.10 • Public • Published

eternal-form

How to publish package?

1.add vue dir/files in @src/components/

   new-component/
   --NewComponent.vue
   --index.js

index.js: import NewComponent from './NewComponent'; NewComponent.install = function (Vue) { Vue.component(NewComponent.name, NewComponent) } export default NewComponent;

2.add components in @src/index.js
   xxx
   -xxx.vue
   -index.js

import NewComponent from './components/new-component/index' export default { //总体 install, //支持按需引入 ... NewComponent }

3.npm publish
you may be change npm registry:
npm config set registry=http://registry.npmjs.org
and change back to taobao.org:
npm config set registry https://registry.npm.taobao.org 

Customize configuration

See Configuration Reference.

Dependencies (4)

Dev Dependencies (7)

Package Sidebar

Install

npm i eternal-form

Weekly Downloads

1

Version

0.1.10

License

MIT

Unpacked Size

541 kB

Total Files

19

Last publish

Collaborators

  • 890time