Skip to content

Commit

Permalink
Fixed image loading issues in prod build.
Browse files Browse the repository at this point in the history
  • Loading branch information
weskubo-cgi authored and weskubo-cgi committed Oct 19, 2023
1 parent 26a734b commit 21c6a41
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 462 deletions.
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"rfdc": "^1.3.0",
"sass": "^1.66.1",
"sass-loader": "^13.3.2",
"vite-plugin-vuetify": "^1.0.2",
"vue": "^3.3.4",
"vue-meta": "^3.0.0-alpha.7",
"vue-router": "^4.2.4",
Expand Down
8 changes: 7 additions & 1 deletion frontend/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
import { URL, fileURLToPath } from 'node:url'
import { defineConfig } from 'vite'
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'

import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
plugins: [
vue({
template: { transformAssetUrls },
}),
vuetify(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
Expand Down
Loading

0 comments on commit 21c6a41

Please sign in to comment.