0.0.2 • Published 8 years ago
neutrino-preset-emotion v0.0.2
Neutrino emotion preset
neutrino-preset-emotion is a Neutrino preset that adds support for
emotion, a CSS in JS technique.
Requirements
- Node.js v7+
- Yarn or npm client
- Neutrino v8, Neutrino build preset
Installation
neutrino-preset-emotion can be installed via the Yarn or npm clients.
Yarn
yarn add neutrino-preset-emotion emotion react-emotionnpm
npm install --save neutrino-preset-emotion emotion react-emotionUsage
Add neutrino-preset-emotion to use in your .neutrinorc.js.
module.exports = {
use: [
'neutrino-preset-react',
'neutrino-preset-emotion',
...
]
}; And that's all. For emotion specific usage, see their docs.
For Neutrino usage, refer to their documentation.