@johmun/vue-tags-input
Version:
A tags input component for VueJS with autocompletion, custom validation, templating and much more
22 lines (17 loc) • 670 B
JavaScript
import 'normalize-css';
import Vue from 'vue';
import App from './App.vue';
import router from './router';
import { format, mergeDocs } from './docs-formatter';
// require the docs file which contains all the information
const docs = require('!!./docs-loader!../vue-tags-input/vue-tags-input.js');
// we require the props file extra and merge it later,
// then the webpack "browser reload on file change" works with this file, too
const props = require('!!./docs-loader!../vue-tags-input/vue-tags-input.props.js');
const merged = mergeDocs(props, docs);
window.docs = format(merged);
new Vue({
el: '#app',
render: h => h(App),
router,
});