Github pages deployment returning 404 for css and js

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.
My index.html loads just fine but any resources requested from index.html like any javascript or css fails with a 404. I’m not sure what to do here
my repository is GitHub - Withenex/DnD-BattleTracker

1 Like

I wonder if you are also missing a baseurl reference, similar to my problem as noted here?

1 Like

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!

1 Like