Create a new ember project without an internet connection?

Can I start ember new foowithout an internet connection?
Initializing a project involves fetching resources from npm; Is it possible to cache them ahead of time so that an internet connection is not necessary?

+4
source share
1 answer

ember new fooIt creates the main project, as well as package.jsonand bower.json. After that, he will install the dependencies. You can skip this part by specifying:

ember new foo --skip-npm --skip-bower

Once you have the package.json and bower.json file, theoretically you can get npm packages from other sources. You can copy these folders to the application folder ( foo) and then start the ember server.

+4

Source: https://habr.com/ru/post/1678002/


All Articles