15 lines
313 B
TypeScript
15 lines
313 B
TypeScript
import { createApp } from 'vue'
|
|
import { createRouter, createWebHistory } from 'vue-router';
|
|
import routes from './routes';
|
|
import App from './App';
|
|
import './main.scss';
|
|
|
|
const router = createRouter({
|
|
routes,
|
|
history: createWebHistory(),
|
|
});
|
|
|
|
const app = createApp(App);
|
|
app.use(router);
|
|
app.mount('#app');
|