0

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.

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.