2.0.1 • Published 7 years ago
neutrino-preset-styled-jsx v2.0.1
Neutrino styled-jsx preset
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.