Skip to content

Commit

Permalink
fix: making v0 as default simulator in cv-frontend-vue
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanndwi123 committed Jul 30, 2024
1 parent 2697be1 commit 33d4533
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script type="module" src="/v0/src/main.ts"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ export default defineConfig({

// you need to set i18n resource including paths !
include: fileURLToPath(
new URL(`./src/locales/**`, import.meta.url)
new URL(`./v0/src/locales/**`, import.meta.url)
),
}),
],
resolve: {
alias: {
'#': fileURLToPath(new URL(`./src`, import.meta.url)),
'@': fileURLToPath(new URL(`./src/components`, import.meta.url)),
'#': fileURLToPath(new URL(`./v0/src`, import.meta.url)),
'@': fileURLToPath(new URL(`./v0/src/components`, import.meta.url)),
},
},
base: '/simulatorvue/',
build: {
outDir: `../public/simulatorvue/`,
outDir: `../public/simulatorvue/v0/`,
assetsDir: 'assets',
chunkSizeWarningLimit: 1600,
},
Expand Down

0 comments on commit 33d4533

Please sign in to comment.