N
N
Next Angular
Search…
N
N
Next Angular
Introduction
Quick Installation
File Structure
Page Structure
Theme Configuration
Theme Layouts
Third Party Modules
Support
Changelog
SUMMARY
Powered By
GitBook
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
and npm.
2.
Update latest
angular-cli
global package to Angular 8+ with cli 8.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
1
npm install
Copied!
5.
**
To run project locally: Below command will run the app in development mode. Open
http://localhost:4200
to view it in the browser.
1
ng serve -o
Copied!
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 .
1
ng build --prod --aot
Copied!
The project was built assuming it is hosted at the server root folder of domain/platform i.e
http://example.com
or
to deploy build for sub-folder i.e
http://example.com/folder-name
You also need to set
<base href="/folder-name/">
Previous
Introduction
Next
File Structure
Last modified
2yr ago
Copy link