schlechtenburg/packages/docs/lib/main.ts

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');