简体   繁体   中英

Angular Project creation

I have a node project which is running fine. I need to create a angular project inside that node project

So that i can run backend and front end

Could you please suggest the way of creating an angular project inside a node projet

You need to create separate project for front end. Join both back end and front end with API. For creation of new angular project read this doc https://cli.angular.io/

For creating an angular project inside node project folder.

Open path of your node project(where you want to add angular project) in terminal and run angular cli command: ng new 'project_name' for creating a new angular project.

You can run both frontend and backend server simultaneously by running respective commands of starting servers: ng serve for frontend and node 'index/app.js' for backend.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM