brennan
brennan

Reputation: 185

Vue.js code wont deploy to firebase hosting

I created a vue.js app using d3.js. I want to deploy my code to a public website where I can access it 24/7. I am following this tutorial however after I run the command

firebase deploy

the webpage the webpage looks like this. I think this means that my code either is not running or it did not deploy properly.

after I run the command

firebase init

and move my .vue, .json, and .js to the public folder this is what my directory looks like

directory

Would someone be able to point me in the right direction, please? In order for the program to run properly I have a .json file with geojson to plot a floorplan.

Upvotes: 0

Views: 197

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317808

It looks like your Firebase Hosting public directory is in "Floormap-app/public". This would likely be the case if you didn't change any of the defaults in firebase.json. If you want a different directory, such as "Floormap-app/floormap", where I see you have an index.html, you will have to modify the configuration of the public folder in firebase.json.

Upvotes: 1

Related Questions