vite-plugin-angular icon indicating copy to clipboard operation
vite-plugin-angular copied to clipboard

SSG support

Open cskiwi opened this issue 1 year ago • 1 comments

Hi,

I was wondering, is there any SSG / prerender support? I see it on some places popup, but I couldn't find any configuration in the vite-plugin-angular package.

Greetings Glenn

cskiwi avatar Jan 15 '24 08:01 cskiwi

Unfortunately, the plugin doesn't have built-in support for vanilla Angular universal pre-rendering. I think it's possible to be added with a few days of work.

The Vike integration/examples have support for pre-rendering. I plan to remove the Vike examples in this repo, and direct users to the new place at https://github.com/vikejs/vike-angular

nitedani avatar Jan 15 '24 21:01 nitedani

I switched to alternative method where I figured to do all the things (still a bit hacky, but it works): https://github.com/cskiwi/angular-nestjs-starter

cskiwi avatar Jun 01 '24 16:06 cskiwi