SEO w/ Angular Universal on Google Cloud Platform

> ng new my-project
> ng add @nguniversal/express-engine
"scripts": {
"ng": "ng",
"start": "node dist/my-project/server/main.js",
"start:dev": "ng serve",
"start:prod": "ng serve --configuration production",
"build": "ng build --configuration production",
"release": "npm run build:ssr && gcloud app deploy --project=jmy-project",
"test": "ng test",
"dev:ssr": "ng run my-project:serve-ssr",
"serve:ssr": "node dist/my-project/server/main.js",
"build:ssr": "npm run build && ng run my-project:server",
"prerender": "ng run my-project:prerender"
}

--

--

--

Full-Stack JS developer » UI / UX connoisseur » Lover of Hockey and Bull Terriers

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Easy way to Build Node JS RESTful APIs — codementor.tech

Callback in Java

Build Youtube in React 13: Related Videos

Pimp my JS_Pt. 3

Development Environment Setup Vue.js, Nodejs Backend — Typescript Version

Flutter vs React Native

How to parse Dynamic JSON String?

Flatiron JavaScript Project Event Delegation

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
John Rodler

John Rodler

Full-Stack JS developer » UI / UX connoisseur » Lover of Hockey and Bull Terriers

More from Medium

DEPLOY AN ANGULAR UNIVERSAL PROJECT TO AWS ELASTIC BEANSTALK

How to implement an inline styles Content Security Policy with Angular and Express Static

What’s new in ngspot/ngx-errors 3.1.3?

Knowing Partials in Typescript