Hey, anyone tried setting up a angular project in stackblitz recently?
As I encounter problems as the default setup is with a standalone component and trying to change it to a AppModule it gives me an error. Here is the stackblitz: https://stackblitz.com/edit/angular-a16lqb?file=src%2Fmain.ts
#Angular project in Stackblitz
4 messages · Page 1 of 1 (latest)
The error message says that ZoneJS is needed. Don't remove the ZoneJS import
import 'zone.js/dist/zone';
from the main.ts file.
is this just needed in stackblitz? as in normal projects it isn't imported in the main.ts
In a normal project, it's added in the polyfills in angular.json, but I guess Stackblitz doesn't support that option.