简体   繁体   中英

Can an application built with node and @angular/cli run offline?

I am new to angular/cli and node . I want to build an application using angular and deploy it to an environment that has all outside communication blocked via. firewall. You cannot even access any search engine. The db and everything required available in the intranet.

So my question is if I build the application using ng new and install dependencies using npm install xxxxx , build the dist in my development pc, can I run it offline?

I plan to use mdbootstrap , chartjs and I have all my fonts for offline usage.

Anybody faced anything similar?

Sorry for asking, but why don't you just try if it works? And to answer your question, yes you can. It only depends on your application if it needs to go outside your intranet. If it doesn't request any API, resource etc... not reachable from inside your intranet, then you are good to go.

Just updating dependencies need an internet connection

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