Firebase not running index.html file

前端 未结 17 2529
遥遥无期
遥遥无期 2020-12-09 02:24

I\'m a pretty new programmer going through the Firebase tutorial. I have gone through steps 1-5 of the tutorial (https://codelabs.developers.google.com/codelabs/firebase-web

17条回答
  •  清歌不尽
    2020-12-09 03:17

    Firebase hosting not showing up app?

    There might be two reasons for this problem

    1st step:

    Make sure your public folder (define in your firebase.json) 'dist' containing the index.html hasn't been modified by firebase init command, if yes replace it with your original project index.html

    for reference (dist is standard but your may different)

    { "hosting": { "public": "dist"} }
    

    2nd step:

    Make sure to configure your base href in project's index.html

    as

    
    

    and other bundle files as

    
    
                                     
                  
提交回复
热议问题