addsmoll

Results comments of addsmoll

_ERROR in ..\path_to.component.ts(3,2): Error during template compile of 'XX' Function calls are not supported in decorators but 'ɵmakeDecorator' was called in 'Component' 'Component' calls 'ɵmakeDecorator'._ This is because during the...

@FredvanRijswijk Root route resolvers easily break the entire server. ![ll2](https://user-images.githubusercontent.com/27157511/81510409-25278080-931a-11ea-99d4-9d9b11041222.jpg)

Add in prerender.ts const domino = require('domino'); const fs = require('fs'); const path = require('path'); const template = fs.readFileSync(path.join(__dirname, '.', 'dist', 'index.html')).toString(); const win = domino.createWindow(template); global['window'] = win; global['document']...