Remove optimization & router-link
This commit is contained in:
parent
65b6984f72
commit
d80f6b9b90
|
|
@ -1,10 +1,9 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
<AppLayout>
|
||||
<router-view/>
|
||||
<RouterView />
|
||||
</AppLayout>
|
||||
</div>
|
||||
<RouterView />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ import vueI18n from '@intlify/vite-plugin-vue-i18n'
|
|||
// https://vitejs.dev/config/
|
||||
export default ({mode}) => {
|
||||
process.env = {...process.env, ...loadEnv(mode, process.cwd())};
|
||||
|
||||
return defineConfig({
|
||||
plugins: [
|
||||
vue(),
|
||||
|
|
@ -19,7 +18,6 @@ export default ({mode}) => {
|
|||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
||||
'vue-i18n': 'vue-i18n/dist/vue-i18n.runtime.esm-bundler.js'
|
||||
},
|
||||
},
|
||||
server: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue