babel-plugin-styled-components
Improve the debugging experience and add server-side rendering support to styled-components
Last updated 22 days ago by probablyup .
MIT · Repository · 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 (10 months ago)
  • 1.10.2-ej8                                ...           ej-test (a month ago)
  • 1.10.1-ej2                                ...           evan-test (a month ago)
  • 1.10.1-0                                ...           experimental (7 months ago)
  • 1.10.6                                ...           latest (22 days ago)
  • 1.7.2                                ...           next (8 months ago)
  • 1.10.5-gatsby                                ...           test (22 days ago)

65 Versions

  • 1.10.6                                ...           22 days ago
  • 1.10.5-gatsby                                ...           22 days ago
  • 1.10.5                                ...           22 days ago
  • 1.10.4                                ...           a month ago
  • 1.10.3                                ...           a month ago
  • 1.10.2-ej8                                ...           a month ago
  • 1.10.2-ej7                                ...           a month ago
  • 1.10.2-ej6                                ...           a month ago
  • 1.10.2-ej4                                ...           a month ago
  • 1.10.2-ej3                                ...           a month ago
  • 1.10.2-ej2                                ...           a month ago
  • 1.10.2-ej1                                ...           a month ago
  • 1.10.2-ej0                                ...           a month ago
  • 1.10.2                                ...           a month ago
  • 1.10.1-ej2                                ...           a month ago
  • 1.10.1-ej1                                ...           a month ago
  • 1.10.1-ej0                                ...           a month ago
  • 1.10.1                                ...           a month ago
  • 1.10.1-1                                ...           a month ago
  • 1.11.0-0                                ...           a month ago
  • 1.10.1-0                                ...           7 months ago
  • 1.10.0                                ...           7 months ago
  • 1.9.5-0                                ...           7 months ago
  • 1.9.4                                ...           7 months ago
  • 1.9.4-0                                ...           7 months ago
  • 1.9.3                                ...           7 months ago
  • 1.9.3-0                                ...           7 months ago
  • 1.9.2                                ...           8 months ago
  • 1.9.1                                ...           8 months ago
  • 1.9.1-0                                ...           8 months ago
  • 1.9.0                                ...           8 months ago
  • 1.9.0-1                                ...           8 months ago
  • 1.9.0-0                                ...           8 months ago
  • 1.7.2                                ...           8 months ago
  • 1.8.0                                ...           10 months ago
  • 1.8.0-1                                ...           10 months ago
  • 1.8.0-0                                ...           10 months ago
  • 1.7.1                                ...           10 months ago
  • 1.7.0                                ...           10 months ago
  • 1.7.0-0                                ...           10 months ago
  • 1.6.4                                ...           a year ago
  • 1.6.3                                ...           a year ago
  • 1.6.2                                ...           a year ago
  • 1.6.2-0                                ...           a year ago
  • 1.6.1                                ...           a year ago
  • 1.6.0                                ...           a year ago
  • 1.5.1                                ...           a year ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.0                                ...           2 years 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                                ...           3 years ago
  • 0.0.3-1                                ...           3 years ago
  • 0.0.3-0                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
Downloads
Today 29
This Week 1,192
This Month 13,698
Last Day 628
Last Week 3,682
Last Month 19,181
Dependents (411)

Copyright 2014 - 2017 © taobao.org |