Step1:
Welcome to designer blog, Here we are going to discuss.How to a make local folder (Angular project) as server to run Angular js file like routing concept.....
Steps2:
There is no need for Xamp server to run the angular js files for routing modules...
Step3:
Consider you have angular js files in folder directory G:\Angular
Go to folder and type cmd and install the below command
All the support files will be get installed...
Step4:
After installation. type serve command to generate the localhost link and open the link in browser to access the page.
Step5:
Enjoy Folks
Welcome to designer blog, Here we are going to discuss.How to a make local folder (Angular project) as server to run Angular js file like routing concept.....
Steps2:
There is no need for Xamp server to run the angular js files for routing modules...
Step3:
Note:
For example: Before you follow this steps, make sure u have installed latest version of node.js (8.9.4 LTS)
Consider you have angular js files in folder directory G:\Angular
Go to folder and type cmd and install the below command
npm install serve -g
All the support files will be get installed...
Step4:
After installation. type serve command to generate the localhost link and open the link in browser to access the page.
Step5:
Enjoy Folks
No comments:
Post a Comment