Skip to content

Angular (5-9) + universal + ngx-translate + localize-router + lazyloading

Notifications You must be signed in to change notification settings

xeladotbe/angular-universal-localize-router

 
 

Repository files navigation

angular-universal-localize-router

Angular (5-9) + universal + ngx-translate + localize-router + lazyloading

Find appropriate source

Choose the branch when you clone this repo:

  • angular-5
  • angular-7
  • angular-8
  • angular-9

Development server

Run npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Start universal dev server

Run npm run dev:ssr to start the project with universal in debug mode. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run npm run build:ssr to build the project. The build artifacts will be stored in the dist/ directory.

Universal server

Run npm run serve:ssr for a universal server. Navigate to http://localhost:4000/.

Run artifacts on server

Copy browser and server folders in the same server on your server.

Go to the parent folder and run node server/main.js.

Navigate to http://localhost:4000/.

About

Angular (5-9) + universal + ngx-translate + localize-router + lazyloading

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 73.0%
  • CSS 15.2%
  • HTML 6.6%
  • JavaScript 5.2%