Coder Social home page Coder Social logo

joaogarin / css-modules-angular2 Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 2.0 1.97 MB

Css modules working with Angular2

Home Page: http://joaogarin.github.io/css-modules-angular2/

JavaScript 25.78% TypeScript 60.32% CSS 9.98% HTML 3.91%
angular2 css-modules webpack

css-modules-angular2's People

Contributors

joaogarin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

css-modules-angular2's Issues

cool but, source-maps not working

Wow, great work! The only solution i've seen so far for ng2 to have css-modules :)

Unfortunately, source-maps are not really working - when i click on a file in my inspector, i see just a "style.css" which still have the mangled/unreadable module-names in it instead of the real content of the original file:

https://www.dropbox.com/s/iq4a063a22m6ojq/Screenshot%202016-04-27%2020.52.57.png?dl=0

Can this somehow be fixed? I really would like to pick this up for our new stack at work, but for this i need to present working source-maps for my team ;)

I'm asking this because with react.js and webpack - source-maps are just working like a breeze :)

Example for changing theme dynamically

Hi Joaogarin, thanks again for the awesome demo. My question is on a view that is given a button or dropdown, once triggered, is it right to use css module to change the style globally or locally at app.ts or at a certain component?

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.