Skip to content

Morliath/mean-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mean-first-app

For integrated build:

  • build angular app (ng build --prod)
  • copy dist files to backend/angular
  • add config to serve the files to app.js
    • app.use("/", express.static(path.join(__dirname, "angular")));
    • app.use((req, res, next) => { res.sendFile(path.join(__dirname, "angular", "index.html")); });
    • comment CORS headers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published