Comments (8)
@felipedrumond Hey, yes, Universal itself works fine, but Material alpha 9 is not fully Universal compatible (I've brought up the issue on their repo and on Slack)...nothing I can really do about that on this repo.
If you're in an early development phase, I wouldn't be worried about it too much as hopefully they will fix it soon... but if you need to be live with Universal anytime soon, the current options are to roll back to alpha 8-3 of Material or to not use Material.
from angular-webpack-starter.
@felipedrumond If you want to rollback before the Universal/Material compatibility issue came up, you can run git checkout 607028da8b0
I'll keep this issue open until either the Universal or Material team solve this issue.
from angular-webpack-starter.
@qdouble thanks! It solved the problem when using universal. However, I'm trying to change the content of lazy.component.html, adding some html and a http request, but the compiler does not create the lazy.component.ngfactory.ts accordingly. It keeps your original version :-(
from angular-webpack-starter.
@felipedrumond AOT should run fine. Are you running npm run compile
?
from angular-webpack-starter.
@felipedrumond if you meant using Universal and AOT together, that's not currently possible, there are pending PR's and open issues on Universal repo, but AOT build should be fine with npm run compile
and the using npm run prodserver
or your own server.
from angular-webpack-starter.
none of the options compile the changes I've made in lazy.component.html
I just tried npm run start, and the lazy rout still shows only "This module is being loaded lazily."
from angular-webpack-starter.
@felipedrumond either you're doing something wrong or something is going wrong on your end, there's nothing in particular that should cause the html not to update. If you want me to investigate further, create a fork or clone with your edits and tell me which commands you used so I can see the issue.
from angular-webpack-starter.
@felipedrumond I'll close this one for now as the Material/Universal thing is not a problem in particular with this repo but an issue that either the material or universal team need to fix. I've stated the current workarounds. I'll update the repo and ping you whenever they resolve those issues.
from angular-webpack-starter.
Related Issues (20)
- file is not exists
- Error in universal:AOT build: Cannot find module './ngfactory/app/server.app.module.ngfactory'. HOT 3
- How to add fonts HOT 3
- Can you rename the repository? HOT 2
- warnings when running `yarn` HOT 1
- AOT and platform-browser-dynamic HOT 1
- Is there a simple example that mimics communication between sibling components? HOT 1
- Is this project still active ? HOT 1
- Http(Client)Module has changed
- Typescript source maps HOT 2
- Webpack 4 / Angular 6 HOT 7
- yarn test failing HOT 2
- Ability to skip bundle analysis for CI prod builds HOT 1
- Getting "Cannot find module 'zone.js/dist/zone-node'" when deploying on production server HOT 6
- Can't run tests, at-loader can't find .ts files! HOT 1
- Getting error running Universal out of the box HOT 3
- Can you please add comments to your code. HOT 1
- How to see karma output in debug window? HOT 6
- Issue with npm/Yarn Install HOT 2
- Angular 7 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-webpack-starter.