I am the new MEAN stack. I started this pleasant journey with the Angular2 template
http://akveo.com/ng2-admin/
However, I had some questions: When I develop the front-end part, I start the webpack-dev server.
- Do I need to run webpack-dev-server when the project is in a production situation?
- If I have a NodeJS API server, do I need to start both "node server" and "npm start" in a production situation?
- As for the file structure, how can I combine the ng2-admin starter (based on Webpack) and the NodeJS API server in the same project?
These questions confuse me so much. Thank you and look forward to your wonderful answers.
source
share