usage npm install week-calender import weekCalender from 'weekCalender' app.use(weekCalender) then use in template or jsx or some way you like <week-calender v-model:value='' />