neutrino-preset-styled-jsxdeprecated

Neutrino preset for adding styled-jsx support

Usage no npm install needed!

<script type="module">
  import neutrinoPresetStyledJsx from 'https://cdn.skypack.dev/neutrino-preset-styled-jsx';
</script>

README

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.