Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove './' from defineConfig #19

Open
pm-consultancy opened this issue Jun 4, 2024 · 1 comment
Open

Remove './' from defineConfig #19

pm-consultancy opened this issue Jun 4, 2024 · 1 comment

Comments

@pm-consultancy
Copy link

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

@logue
Copy link
Owner

logue commented Jun 11, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants