vue 3 Component Library BoilerPlate
Technology Used:
Vuejs 3.0
Typescript
Rollup
Project setup
Please follow below mentioned step to run this project:
https://github.com/shubhadip/chronocraft-calendar-vue3
Run
yarn install
Compiles and hot-reloads for development
yarn serve
Compiles and minifies for production
yarn build
Build Library
yarn build:js
Build Library With Separate Css file
yarn build:js_css
Lints and fixes files
yarn lint
Usage Of Components Built
As Component
import { TestWorld } from 'chronocraft-calendar-vue3/dist/esm/testworld';
...
components:{
TestWorld
}
As Plugin
import { TestWorld } from 'chronocraft-calendar-vue3';
...
app.use(TestWorld)