DrSensor / vue-authoring-template

Vue project template for authoring component and their use case
MIT License
13 stars 5 forks source link

"One for All" packaging #13

Closed DrSensor closed 6 years ago

DrSensor commented 6 years ago

Package vue component as:

And publish it to:

If this enhancement use bili, then poi might be removed because the original purpose of poi is to bundle vue component as library. This also open the possibility to use official storybook cli and addon without any quirk. And maybe it can solve #1 and able add support publishing to github pages.

In package.json, use fields: main for cjs module for es unpkg and jsdelivr for minified umd until webpack prioritize module over browser.

Support 2 CDN (https://unpkg.com and https://jsdelivr.com) in case one of them is server down.