The Hello World project is an Angular 2+ starter project that has the npm modules, configuration, scripts and folders and routing in place to make getting started with an Angular project easy!
Here's what is in the project:
- Angular scripts and TypeScript configuration are ready to go
- Angular bootstrapper wired up to the app module
- A simple app component
- Bootstrap for CSS
This is a very simple "Hello World" project to help get you started.
If you're using VS Code, install my Angular code snippets to simplify the process of writing Angular code. The code snippets make it easy to build Angular components, services, pipes, directives and more.
-
Install Node.js
-
Run
npm install
to install app dependencies (you may see some warnings due to @ngtools/webpack and webpack...ignore them) -
Run
npm start
to start the server and launch the app
-
Run
npm run build
-
Follow the instructions at the bottom of
src/index.html
to add the necessary AOT scripts. -
Run
npm start
to start the server and launch the app.