Github pages deployment returning 404 for css and js #21591
-
I’ve written a vue application and am using a github action to create a branch of only the contents of only the ./dist folder. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I wonder if you are also missing a |
Beta Was this translation helpful? Give feedback.
-
That did the trick! all I had to do was set publicPath to “” in my vue.config.js file. This changes the file references to use relative paths in the build process as I understand it. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
I wonder if you are also missing a
baseurl
reference, similar to my problem as noted here?