33 lines
641 B
JavaScript
33 lines
641 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.component('vue-scrollto', VueScrollTo)
|
|
// Vue.use(VueScrollTo)
|
|
|
|
registerPlugins(app)
|
|
|
|
app.mount('#app')
|
|
|