Version 1.0.0-rc5 - Modif Vite Builder
All checks were successful
Frontend Deployment / deploy-frontend (push) Successful in 31s
All checks were successful
Frontend Deployment / deploy-frontend (push) Successful in 31s
This commit is contained in:
@@ -3,13 +3,13 @@ import vue from '@vitejs/plugin-vue'
|
|||||||
import path from 'path'
|
import path from 'path'
|
||||||
import VitePluginVueDevTools from 'vite-plugin-vue-devtools'
|
import VitePluginVueDevTools from 'vite-plugin-vue-devtools'
|
||||||
|
|
||||||
// https://vite.dev/config/
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
base: '/', // <-- IMPORTANT : chemins des assets corrects
|
||||||
plugins: [vue(), VitePluginVueDevTools()],
|
plugins: [vue(), VitePluginVueDevTools()],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
"@": path.resolve(__dirname, 'src'),
|
"@": path.resolve(__dirname, 'src'),
|
||||||
"@public": path.resolve(__dirname, 'public'),
|
"@public": path.resolve(__dirname, 'public'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user