migrate to Tailwind JIT + views + router/ build fix

ref #23
This commit is contained in:
2021-03-30 18:05:55 +02:00
parent 5253fb1832
commit 15b60f60b5
13 changed files with 99 additions and 92 deletions

View File

@@ -1,10 +1,21 @@
import { createApp } from 'vue';
import App from './App.vue';
import Toast from 'vue-toastification';
import 'windi.css';
import './tailwind.css';
import 'toastify-js/src/toastify.css';
import 'vue-toastification/dist/index.css';
import { router } from './router';
import App from './App.vue';
import { routes } from './routes.js';
import { createRouter, createWebHistory } from 'vue-router';
import { i18n } from './language';
import Toast from 'vue-toastification';
createApp(App).use(Toast).use(i18n).use(router).mount('#app');
const app = createApp(App);
const router = createRouter({
history: createWebHistory(),
routes
});
app.use(router);
app.use(i18n);
app.use(Toast);
app.mount('#app');