mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 22:49:31 -07:00
29 lines
742 B
TypeScript
29 lines
742 B
TypeScript
/* eslint-disable vue/multi-word-component-names */
|
|
/* eslint-disable vue/no-reserved-component-names */
|
|
|
|
import './css/main.css';
|
|
import 'primeicons/primeicons.css';
|
|
|
|
import { createApp } from 'vue';
|
|
import App from './App.vue';
|
|
import router from './router';
|
|
|
|
import ToastService from 'primevue/toastservice';
|
|
import Aura from '@primeuix/themes/aura';
|
|
import PrimeVue from 'primevue/config';
|
|
import Button from 'primevue/button';
|
|
import Select from 'primevue/select';
|
|
import Toast from 'primevue/toast';
|
|
|
|
const app = createApp(App);
|
|
|
|
app.use(router);
|
|
app.use(PrimeVue, { theme: { preset: Aura } });
|
|
app.use(ToastService);
|
|
|
|
app.component('Button', Button);
|
|
app.component('Toast', Toast);
|
|
app.component('Select', Select);
|
|
|
|
app.mount('#app');
|