Git Product home page Git Product logo

Comments (3)

Matmo10 avatar Matmo10 commented on July 20, 2024

Are there any errors? It just looks like the material design styles are missing in that screenshot. Are you planning on keeping Material Design anyways? Does the hot reload / prod functionality work fine aside from the styling issues? More details would help.

from angular-webpack-starter.

qdouble avatar qdouble commented on July 20, 2024

If you look at the app.imports file you will see this

// MdButtonModule, // Uncomment after initial load in HMR mode or before doing AOT compile

and then at the bottom this

/**
 * Currently, MdButtonModule stops HMR from working properly 
 * if it is imported on initial load. If you uncomment it after initial
 * load the page will refresh and MdButton will be fine.
 * If you find a better solution, please submit a PR or file an issue.
 */
if (!HMR) {
  APP_IMPORTS.push(MdButtonModule);
}

So basically, the MdButton is just being commented out so HMR keeps working... but you can always just uncomment it and things will work like normal. Also uncomment it if doing AOT compile.

from angular-webpack-starter.

patrickpereira avatar patrickpereira commented on July 20, 2024

ah wicked, thanks!

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.