primevue-mirror/src/main.js

34 lines
1.1 KiB
JavaScript
Raw Normal View History

2018-12-06 18:26:49 +00:00
import Vue from 'vue';
import App from './App.vue';
import router from './router';
2018-12-10 10:56:49 +00:00
import Button from './components/button/Button';
2018-12-07 11:02:58 +00:00
import InputText from './components/inputtext/InputText';
2018-12-10 10:56:49 +00:00
import Fieldset from './components/fieldset/Fieldset';
2018-12-08 09:15:53 +00:00
import ListBox from './components/listbox/ListBox';
2018-12-09 19:03:25 +00:00
import Panel from './components/panel/Panel';
2018-12-10 10:56:49 +00:00
import Textarea from './components/textarea/Textarea';
2018-12-10 10:02:09 +00:00
import Toolbar from './components/toolbar/Toolbar';
2018-12-11 19:37:15 +00:00
import TabView from './components/tabview/TabView';
import TabPanel from './components/tabview/TabPanel';
2018-12-07 11:02:58 +00:00
import './assets/styles/primevue.css';
2018-12-06 18:26:49 +00:00
import 'primeflex/primeflex.css';
2018-12-07 21:18:52 +00:00
import 'primeicons/primeicons.css';
2018-12-06 18:26:49 +00:00
Vue.config.productionTip = false;
2018-12-07 11:02:58 +00:00
Vue.component('p-inputtext', InputText);
2018-12-07 21:18:52 +00:00
Vue.component('p-button', Button);
2018-12-08 09:15:53 +00:00
Vue.component('p-listBox', ListBox);
2018-12-09 19:03:25 +00:00
Vue.component('p-panel', Panel);
2018-12-10 08:46:14 +00:00
Vue.component('p-fieldset', Fieldset);
2018-12-11 19:37:15 +00:00
Vue.component('p-tabView', TabView);
Vue.component('p-tabPanel', TabPanel);
2018-12-10 10:56:49 +00:00
Vue.component('p-textarea', Textarea);
2018-12-11 19:37:15 +00:00
Vue.component('p-toolbar', Toolbar);
2018-12-07 11:02:58 +00:00
new Vue({
router,
render: h => h(App)
2018-12-06 18:26:49 +00:00
}).$mount('#app');