Back to Vanilla Extract

Gatsby

site/docs/integrations/gatsby.md

latest505 B
Original Source

Gatsby

A plugin for integrating vanilla-extract with Gatsby.

Installation

bash
npm install @vanilla-extract/css @vanilla-extract/webpack-plugin gatsby-plugin-vanilla-extract

Setup

Add the plugin to your Gatsby configuration.

js
// gatsby-config.js

module.exports = {
  plugins: [`gatsby-plugin-vanilla-extract`]
};

Configuration

See plugin documentation.