Deploying an Angular Universal app: Do I need the `server` directory?

153 Views Asked by At

I have an Angular 16 app that I built using Angular Universal to pre-render the pages for SEO purposes.

I run ng run project-name:prerender and it generates the following structure

├─ dist
│  ├─ project-name
│  │  ├─ browser
│  │  ├─ server

I can run the dist/project-name/browser locally and everything works as expected.

So my question is: do I need to do anything with the dist/project-name/server directory?

I understand it's there for server-side rendering, but this is a fairly simple application (just a dev/design portfolio for myself) and I have no need for anything to happen server side that I know of.

0

There are 0 best solutions below