import { createApp } from 'vue'
import { createRouter, createWebHistory } from 'vue-router'
import Particles from "vue3-particles";

import './style.css'
import 'bootstrap'
import 'bootstrap/dist/css/bootstrap.min.css'

import App from './App.vue'
import Home from "./components/Home.vue";
import About from './components/About.vue'
import Projects from "./components/Projects.vue";


const router = createRouter({
    history: createWebHistory(),
    routes:[
        { path: '/', component: Home },
        { path: '/about', component: About },
        { path: '/projects', component: Projects }
    ]
});


createApp(App)
    .use(router)
    // @ts-ignore
    .use(Particles)
    .mount('#app')
