This is a template for building vue components library.Project makes use of vue3.0 with rollup configuration to build treeshakable imports and Postcss for compilation of css
Technology Used: Vuejs 3.0 Typescript Rollup
Please follow below mentioned step to run this project:
https://github.com/shubhadip/vue3-component-library
yarn install
yarn serve
yarn build
yarn build:js
yarn build:js_css
yarn lint
As Component
import { TestWorld } from 'vue3-component-library/dist/esm/testworld';
...
components:{
TestWorld
}
As Plugin
import { TestWorld } from 'vue3-component-library';
...
app.use(TestWorld)