Giter Site home page Giter Site logo

vedrani / babel-plugin-styled-components Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sfishel18/babel-plugin-styled-components

0.0 0.0 0.0 825 KB

Improve the debugging experience and add server-side rendering support to styled-components

License: MIT License

JavaScript 100.00%

babel-plugin-styled-components's Introduction

babel-plugin-styled-components

This plugin is a highly recommended supplement to the base styled-components library, offering some useful features:

  • consistently hashed component classNames between environments (a must for server-side rendering)
  • better debugging through automatic annotation of your styled components based on their context in the file system, etc.
  • various types of minification for styles and the tagged template literals styled-components uses

Quick start

Install the plugin first:

npm install --save-dev babel-plugin-styled-components

Then add it to your babel configuration:

{
  "plugins": ["babel-plugin-styled-components"]
}

Documentation

The documentation for this plugin lives on the styled-components website!

License

Licensed under the MIT License, Copyright © 2016-present Vladimir Danchenkov and Maximilian Stoiber.

See LICENSE.md for more information.

babel-plugin-styled-components's People

Contributors

mxstbr avatar quantizor avatar kitten avatar vdanchenkov avatar zapkub avatar epilande avatar satya164 avatar fatfisz avatar mbrowne avatar bpierre avatar silverlight513 avatar phyllisstein avatar zaubernerd avatar artnattapat avatar yasserkaddour avatar dependabot[bot] avatar xavxyz avatar 0x80 avatar salper avatar siddharthkp avatar saravieira avatar samatar26 avatar robin-drexler avatar niklasgrahl avatar nickhudkins avatar msokk avatar khmm12 avatar lucleray avatar rajzik avatar lixiaoyan avatar

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.