react-app-rewire-classy-ui

0.0.2 • Public • Published

react-app-rewire-styled-components

Add the babel-plugin-classy-ui to your create-react-app app via react-app-rewired.

No need to use classy-ui/macro.

Installation

yarn add react-app-rewire-styled-components
 
# alternatively if you're using npm 
npm install --save react-app-rewire-styled-components

Usage

In the config-overrides.js you created for react-app-rewired add this code:

const rewireClassyUi = require('react-app-rewire-classy-ui');
 
/* config-overrides.js */
module.exports = function override(config, env) {
  config = rewireClassyUi(config, env);
  return config;
}

That's it. Your app is now using the classy-ui Babel plugin.

License

Licensed under the MIT License, Copyright ©️ 2020 Mikey Stengel. See LICENSE.md for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i react-app-rewire-classy-ui

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

3.34 kB

Total Files

5

Last publish

Collaborators

  • codingdive