Quick Installation

Angular CLI + NodeJs + Bootstrap

You don’t need to install or configure tools like Webpack or CLI. They are configured and hidden so that you can focus on the code.

  1. First of all, it's required to Install Node (v10.13.0) and npm(v6.4.1).

  2. Update the latest angular-cli global package to Angular 10.x.x. with cli 10.x.x

  3. Unzip next.zip file, you will find the next/template/skeleton/project folder.

  4. Open your favorite console/terminal and navigate to the skeleton/folder and Install packages

    npm install --legacy-peer-deps
  5. To run the project locally, The below command will run the app in development mode. Open http://localhost:4200 to view it in the browser.

    npm start
  6. The page will automatically reload if you make changes to the code.

  7. Now you can use this Angular project for your application development, make the necessary changes.

  8. To builds the app for production, below command will create the dist/ folder inside this project directory .

    npm run build

The project was built assuming it is hosted at the server root folder of domain/platform i.ehttp://example.com

or

to deploy build for sub-folder i.ehttp://example.com/folder-name

You also need to set <base href="/folder-name/">

Last updated