2.0.1 • Published 7 years ago

neutrino-preset-styled-jsx v2.0.1

Weekly downloads
4
License
GPL-3.0
Repository
github
Last release
7 years ago

Neutrino styled-jsx preset

Build Status NPM version NPM downloads Commitizen friendly Join Slack

neutrino-preset-styled-jsx is a Neutrino preset that adds support for styled-jsx, a CSS in JS technique.

Requirements

  • Node.js v7+
  • Yarn or npm client
  • Neutrino v7, Neutrino build preset

Installation

neutrino-preset-styled-jsx can be installed via the Yarn or npm clients.

Yarn

❯ yarn add neutrino-preset-styled-jsx

npm

❯ npm install --save neutrino-preset-styled-jsx

Usage

Add neutrino-preset-styled-jsx to use in your .neutrinorc.js.

   module.exports = {
    use: [
      'neutrino-preset-react',
      'neutrino-preset-styled-jsx',
      ...
    ]
  };

And that's all. For styled-jsx specific usage, see their docs. For Neutrino usage, refer to their documentation.