gatsby-plugin-emotion
Gatsby plugin to add support for Emotion
Last updated 5 years ago by pieh .
MIT · Repository · Bugs · Original npm
$ cnpm install gatsby-plugin-emotion 
SYNC missed versions from official npm registry.

gatsby-plugin-emotion

Provide support for using the css-in-js library Emotion including server side rendering.

This plugin supports Emotion v10+

Older versions should use versions of this plugin which support Emotion 8 and 9. Check out the Emotion 10 migration guide for more information on how to upgrade.

Install

npm install --save gatsby-plugin-emotion @emotion/core @emotion/styled

How to use

Add the plugin to your gatsby-config.js.

module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-emotion`,
      options: {
        // Accepts all options defined by `babel-plugin-emotion` plugin.
      },
    },
  ],
}

Current Tags

  • 4.3.4                                ...           latest (5 years ago)
  • 4.1.5-otp-test.69                                ...           otp-test (6 years ago)

14 Versions

  • 6.0.0-v3rc.0                                ...           5 years ago
  • 4.2.2-unifiedroutes.433                                ...           5 years ago
  • 6.0.0-reach-router.186 [deprecated]           ...           5 years ago
  • 7.16.0-next.0                                ...           3 years ago
  • 7.15.0                                ...           3 years ago
  • 7.8.0-alpha-image-service.24                                ...           4 years ago
  • 4.5.0-image-helpers.58                                ...           5 years ago
  • 4.3.11-dev-ssr-2.536                                ...           5 years ago
  • 7.6.0-alpha-ts-jit.60                                ...           4 years ago
  • 6.14.0-alpha-qe-sm.46                                ...           4 years ago
  • 7.0.0-alpha-9689ff.13                                ...           4 years ago
  • 4.5.0                                ...           5 years ago
  • 4.1.5-otp-test.69                                ...           6 years ago
  • 4.3.4                                ...           5 years ago

Copyright 2013 - present © cnpmjs.org