$ npm install babel-plugin-styled-components
babel-plugin-styled-components
This plugin is a highly recommended supplement to the base styled-components library, offering some useful features:
Install the plugin first:
npm install --save-dev babel-plugin-styled-components
Then add it to your babel configuration:
{
"plugins": ["babel-plugin-styled-components"]
}
The documentation for this plugin lives on the styled-components website!
Licensed under the MIT License, Copyright © 2016-present Vladimir Danchenkov and Maximilian Stoiber.
See LICENSE.md for more information.
© 2010 - cnpmjs.org x YWFE | Home | YWFE