Files
PORTAL_COD2/front/src/main.js
T
2023-10-11 09:21:53 +03:00

33 lines
619 B
JavaScript

/**
* main.js
*
* Bootstraps Vuetify and other plugins then mounts the App`
*/
// Components
import App from './App.vue'
// Composables
import { createApp } from 'vue'
// Plugins
import { registerPlugins } from '@/plugins'
import components from '@/components/UI/index'
import Vue3Autocounter from 'vue3-autocounter';
import VueScrollTo from 'vue-scrollto'
const app = createApp(App)
components.forEach((component) => {
app.component(component.name, component);
})
app.component('vue3-autocounter', Vue3Autocounter)
app.use(VueScrollTo)
// Vue.use(VueScrollTo)
registerPlugins(app)
app.mount('#app')