简体   繁体   中英

Running npm install and bower install on firebase hosting

I am using firebase hosting service and found that the command npm install and bower install has not been run. As a result, some of my components are missing.

Any way I can do this? Thanks!

Firebase Hosting is a static hosting service only. You will need to make sure that the directory you specify in the firebase.json file contains all the static files that you want served - probably by having a build step in your deploy process that does the bower install into a build directory before running the firebase deploy command

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM