babel-plugin-styled-components
Improve the debugging experience and add server-side rendering support to styled-components
Last updated 4 months ago by mxstbr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-plugin-styled-components 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.8.0-1                                ...           dev (7 months ago)
  • 1.10.1-0                                ...           experimental (4 months ago)
  • 1.10.0                                ...           latest (4 months ago)
  • 1.7.2                                ...           next (5 months ago)

45 Versions

  • 1.10.1-0                                ...           4 months ago
  • 1.10.0                                ...           4 months ago
  • 1.9.5-0                                ...           4 months ago
  • 1.9.4                                ...           4 months ago
  • 1.9.4-0                                ...           4 months ago
  • 1.9.3                                ...           4 months ago
  • 1.9.3-0                                ...           4 months ago
  • 1.9.2                                ...           5 months ago
  • 1.9.1                                ...           5 months ago
  • 1.9.1-0                                ...           5 months ago
  • 1.9.0                                ...           5 months ago
  • 1.9.0-1                                ...           5 months ago
  • 1.9.0-0                                ...           5 months ago
  • 1.7.2                                ...           5 months ago
  • 1.8.0                                ...           7 months ago
  • 1.8.0-1                                ...           7 months ago
  • 1.8.0-0                                ...           7 months ago
  • 1.7.1                                ...           7 months ago
  • 1.7.0                                ...           7 months ago
  • 1.7.0-0                                ...           7 months ago
  • 1.6.4                                ...           8 months ago
  • 1.6.3                                ...           8 months ago
  • 1.6.2                                ...           8 months ago
  • 1.6.2-0                                ...           8 months ago
  • 1.6.1                                ...           8 months ago
  • 1.6.0                                ...           8 months ago
  • 1.5.1                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.7                                ...           2 years ago
  • 1.1.6                                ...           2 years ago
  • 1.1.5                                ...           2 years ago
  • 1.1.4                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.0.3-1                                ...           2 years ago
  • 0.0.3-0                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
Downloads
Today 208
This Week 546
This Month 6,749
Last Day 338
Last Week 1,940
Last Month 9,956
Dev Dependencies (10)
Dependents (341)

Copyright 2014 - 2018 © taobao.org |