JSPM

neutrino-preset-emotion

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q20579F
  • License GPL-3.0

Neutrino preset for adding emotion support

Package Exports

  • neutrino-preset-emotion

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (neutrino-preset-emotion) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Neutrino emotion preset

NPM version

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-emotion

npm

npm install --save neutrino-preset-emotion emotion react-emotion

Usage

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.