Open pm-consultancy opened 1 month ago
https://github.com/logue/vite-vuetify-ts-starter/blame/98f08212573f0e40ca0461193b141f4b6cdedcb0/vite.config.ts#L21
This makes it so that a refresh of a page (when build and running in production or the likes) that every file is loaded from that deeper path
like : <server>/path/sub/sub/./assets/xxx.js
<server>/path/sub/sub/./assets/xxx.js
I set it this way because when deployed to github-pages etc., the path becomes absolute and the file cannot be read correctly.
It needs to be considered.
https://github.com/logue/vite-vuetify-ts-starter/blame/98f08212573f0e40ca0461193b141f4b6cdedcb0/vite.config.ts#L21
This makes it so that a refresh of a page (when build and running in production or the likes) that every file is loaded from that deeper path
like :
<server>/path/sub/sub/./assets/xxx.js