vue toast
A Vue.js wrapper for TOAST UI Calendar.
TOAST UI日历的Vue.js包装器。
npm install --save tui-calendar @lkmadushan/vue-tuicalendar
Try out this Code Sandbox
试用此代码沙箱
import Vue from 'vue'
import VueTuicalendar from '@lkmadushan/vue-tuicalendar'
// You need a specific loader for CSS files like https://github.com/webpack/css-loader
import 'tui-calendar/dist/tui-calendar.min.css'
Vue.use(VueTuicalendar)
// or
import { VueTuicalendar } from '@lkmadushan/vue-tuicalendar'
...
More options can be found at https://nhnent.github.io/tui.calendar/latest/Calendar.html
更多选项可以在https://nhnent.github.io/tui.calendar/latest/Calendar.html找到
npm run dev
npm run dev:coverage
Bundle the js and css of to the dist
folder:
将的js和CSS捆绑到dist
文件夹:
npm run build
The prepublish
hook will ensure dist files are created before publishing. This way you don't need to commit them in your repository.
prepublish
挂钩将确保在发布之前创建dist文件。 这样,您无需在存储库中提交它们。
# Bump the version first
# It'll also commit it and create a tag
npm version
# Push the bumped package and tags
git push --follow-tags
# Ship it
npm publish
翻译自: https://vuejsexamples.com/a-vue-js-wrapper-for-toast-ui-calendar/
vue toast