primevue-mirror/src/main.js

108 lines
4.5 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';
2019-01-28 11:49:18 +00:00
import AutoComplete from './components/autocomplete/AutoComplete';
2018-12-13 20:39:16 +00:00
import Accordion from './components/accordion/Accordion';
import AccordionTab from './components/accordion/AccordionTab';
2018-12-10 10:56:49 +00:00
import Button from './components/button/Button';
2019-04-15 08:25:24 +00:00
import Calendar from './components/calendar/Calendar';
2018-12-16 20:03:20 +00:00
import Card from './components/card/Card';
2019-01-01 18:53:12 +00:00
import Chart from './components/chart/Chart';
2018-12-14 15:35:42 +00:00
import Checkbox from './components/checkbox/Checkbox';
2018-12-24 21:14:06 +00:00
import Chips from './components/chips/Chips';
2019-05-07 10:24:05 +00:00
import DataView from './components/dataview/DataView';
import DataViewLayoutOptions from './components/dataview/DataViewLayoutOptions';
2019-01-31 12:15:32 +00:00
import Dialog from './components/dialog/Dialog';
2018-12-28 12:03:07 +00:00
import Dropdown from './components/dropdown/Dropdown';
2018-12-26 08:50:28 +00:00
import Editor from './components/editor/Editor';
2019-02-12 13:51:28 +00:00
import Fieldset from './components/fieldset/Fieldset';
import FileUpload from './components/fileupload/FileUpload';
2018-12-31 15:41:35 +00:00
import FullCalendar from './components/fullcalendar/FullCalendar';
2018-12-16 21:04:39 +00:00
import InputSwitch from './components/inputswitch/InputSwitch';
2018-12-07 11:02:58 +00:00
import InputText from './components/inputtext/InputText';
2018-12-14 11:21:18 +00:00
import Listbox from './components/listbox/Listbox';
2019-02-05 10:23:06 +00:00
import Message from './components/message/Message';
import MultiSelect from './components/multiselect/MultiSelect';
2019-01-31 15:42:58 +00:00
import OverlayPanel from './components/overlaypanel/OverlayPanel';
2019-03-15 12:51:48 +00:00
import Paginator from './components/paginator/Paginator';
2018-12-09 19:03:25 +00:00
import Panel from './components/panel/Panel';
2018-12-26 19:02:41 +00:00
import Password from './components/password/Password';
2018-12-26 12:23:43 +00:00
import ProgressBar from './components/progressbar/ProgressBar';
2018-12-17 19:18:46 +00:00
import Rating from './components/rating/Rating';
2018-12-14 09:41:13 +00:00
import RadioButton from './components/radiobutton/RadioButton';
2018-12-15 13:39:00 +00:00
import SelectButton from './components/selectbutton/SelectButton';
2018-12-25 21:18:37 +00:00
import Slider from './components/slider/Slider';
2019-02-05 03:40:53 +00:00
import Sidebar from './components/sidebar/Sidebar';
2019-02-13 14:03:45 +00:00
import SplitButton from './components/splitbutton/SplitButton';
2018-12-25 08:27:10 +00:00
import Spinner from './components/spinner/Spinner';
2018-12-10 10:56:49 +00:00
import Textarea from './components/textarea/Textarea';
2019-02-08 10:55:52 +00:00
import Toast from './components/toast/Toast';
import ToastService from './components/toast/ToastService';
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-15 11:06:55 +00:00
import ToggleButton from './components/togglebutton/ToggleButton';
2018-12-16 20:33:51 +00:00
import TriStateCheckbox from './components/tristatecheckbox/TriStateCheckbox';
import ValidationMessage from './components/validationmessage/ValidationMessage';
2018-12-07 11:02:58 +00:00
2019-03-20 07:57:32 +00:00
import CodeHighlight from './views/codehighlight/CodeHighlight';
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';
2019-03-20 07:57:32 +00:00
import 'prismjs/themes/prism-coy.css';
2019-02-08 10:55:52 +00:00
Vue.use(ToastService);
2018-12-06 18:26:49 +00:00
Vue.config.productionTip = false;
2018-12-31 19:59:02 +00:00
Vue.component('Accordion', Accordion);
Vue.component('AccordionTab', AccordionTab);
2019-01-28 11:49:18 +00:00
Vue.component('AutoComplete', AutoComplete);
2018-12-31 19:59:02 +00:00
Vue.component('Button', Button);
2019-04-15 08:25:24 +00:00
Vue.component('Calendar', Calendar);
2018-12-31 19:59:02 +00:00
Vue.component('Card', Card);
2019-01-01 18:53:12 +00:00
Vue.component('Chart', Chart);
2018-12-31 19:59:02 +00:00
Vue.component('Checkbox', Checkbox);
Vue.component('Chips', Chips);
2019-05-07 10:24:05 +00:00
Vue.component('DataView', DataView);
Vue.component('DataViewLayoutOptions', DataViewLayoutOptions);
2019-01-31 12:15:32 +00:00
Vue.component('Dialog', Dialog);
2018-12-31 19:59:02 +00:00
Vue.component('Dropdown', Dropdown);
Vue.component('Editor', Editor);
2019-02-12 13:51:28 +00:00
Vue.component('Fieldset', Fieldset);
Vue.component('FileUpload', FileUpload);
2018-12-31 19:59:02 +00:00
Vue.component('FullCalendar', FullCalendar);
Vue.component('InputSwitch', InputSwitch);
Vue.component('InputText', InputText);
Vue.component('Listbox', Listbox);
2019-02-05 10:23:06 +00:00
Vue.component('Message', Message);
2018-12-31 19:59:02 +00:00
Vue.component('MultiSelect', MultiSelect);
2019-01-31 15:42:58 +00:00
Vue.component('OverlayPanel', OverlayPanel);
2019-03-15 12:51:48 +00:00
Vue.component('Paginator', Paginator);
2018-12-31 19:59:02 +00:00
Vue.component('Panel', Panel);
Vue.component('Password', Password);
Vue.component('ProgressBar', ProgressBar);
Vue.component('RadioButton', RadioButton);
Vue.component('Rating', Rating);
Vue.component('SelectButton', SelectButton);
Vue.component('Slider', Slider);
2019-02-05 03:40:53 +00:00
Vue.component('Sidebar', Sidebar);
2018-12-31 19:59:02 +00:00
Vue.component('Spinner', Spinner);
2019-02-13 14:03:45 +00:00
Vue.component('SplitButton', SplitButton);
2018-12-31 19:59:02 +00:00
Vue.component('TabView', TabView);
Vue.component('TabPanel', TabPanel);
Vue.component('Textarea', Textarea);
2019-02-08 10:55:52 +00:00
Vue.component('Toast', Toast);
2018-12-31 19:59:02 +00:00
Vue.component('Toolbar', Toolbar);
Vue.component('ToggleButton', ToggleButton);
Vue.component('TriStateCheckbox', TriStateCheckbox);
Vue.component('ValidationMessage', ValidationMessage);
2018-12-07 11:02:58 +00:00
2019-03-20 07:57:32 +00:00
Vue.component('CodeHighlight', CodeHighlight);
new Vue({
router,
render: h => h(App)
2018-12-06 18:26:49 +00:00
}).$mount('#app');