Simple project for creating Angular Dynamic Components with The Ahead-of-Time (AOT) compiler.
npm start;
json-server --watch db.json
POC, to get CMS content and add it dynamically
Hello,
I test your projects and it seems not to work properly on prod mode (the *ngIf in the template doesn't trigger).
I had to disable ivy for it to work properly.
Do you have the same issue ? Do you know if it is possible to make it works properly with Ivy ?
Thanks for your help.
Receiving the console error that matches here: angular/angular#35788 when attempting to view the application after production build using this dynamic template method.
Looks like it's a compiler issue, and it may/may not be resolved. I couldn't figure out any way around it.
Hi,
I saw your comment in angular/angular#15275 (comment) and tried this solution.
It worked well with ng s --aot=true
but if I try with ng build --prod --aot
and serve dist folder with http-server
i'm getting:
ERROR Error: Uncaught (in promise): Error: Unexpected value 'class{}' imported by the module 'class{}'. Please add a @NgModule annotation.
You don't have this error?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.