Git Product home page Git Product logo

Comments (8)

qdouble avatar qdouble commented on July 20, 2024

@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.

qdouble avatar qdouble commented on July 20, 2024

@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.

felipedrumond avatar felipedrumond commented on July 20, 2024

@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.

qdouble avatar qdouble commented on July 20, 2024

@felipedrumond AOT should run fine. Are you running npm run compile ?

from angular-webpack-starter.

qdouble avatar qdouble commented on July 20, 2024

@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.

felipedrumond avatar felipedrumond commented on July 20, 2024

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.

qdouble avatar qdouble commented on July 20, 2024

@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.

qdouble avatar qdouble commented on July 20, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.