A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nuxt-community/emotion-module/tree/v0 below:

GitHub - nuxt-modules/emotion at v0

Emotion module for Nuxt.js

📖 Release Notes

IMPORTANT NOTE: This module requires new hooks that works with nuxt 2.5.0 or nuxt-edge only.

  1. Add @nuxtjs/emotion dependency to your project
yarn add @nuxtjs/emotion # or npm install @nuxtjs/emotion
  1. Add @nuxtjs/emotion to the modules section of nuxt.config.js
export default {
  modules: [
    // Simple usage
    '@nuxtjs/emotion',

    // With options
    ['@nuxtjs/emotion', { /* module options */ }]
  ]
}
export default {
  modules: [
    '@nuxtjs/emotion'
  ],
  emotion: {
    /* module options */
  }
}

Can be 'critical' or 'render' or false.

In the critical mode, module automatically injects window.$emotionSSRIds for hydration.

Options for babel-plugin-emotion integration.

Can be disabled by setting to false.

MIT License

Copyright (c) Nuxt Community


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4