When you run the ng eject
command this is the output that is displayed at the prompt:
ng eject
==========================================================================================
Ejection was successful.
To run your builds, you now need to do the following commands:
- "npm run build" to build.
- "npm run test" to run unit tests.
- "npm start" to serve the app using webpack-dev-server.
- "npm run e2e" to run protractor.
Running the equivalent CLI commands will result in an error.
==========================================================================================
Some packages were added. Please run "npm install".
Everything you need to know, right there.
Have a look inside the package.json
to see the updates to the scripts
section. There are a couple more commands there that are not shown in the output above.
Hope this helps.
UPDATE:
In case anyone was not aware, the CLI can still be used to generate code even after the eject has been done.
Commands like ng generate component blah
will still work.