nve

next-vanilla-extract

Next.js plugin for Vanilla Extract

Showing:

Popularity

Downloads/wk

1

GitHub Stars

8

Maintenance

Last Commit

4mos ago

Contributors

1

Package

Dependencies

0

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

🧁 next-vanilla-extract

Next.js plugin for Vanilla Extract that supports fast refresh. Adapted from the Next.js Treat plugin.

Setup

  1. Install the dependencies
npm i next-vanilla-extract @vanilla-extract/babel-plugin
  1. Add the Next.js plugin to your next.config.js file
const withVanillaExtract =
  require('next-vanilla-extract')(/* Your custom @vanilla-extract/webpack-plugin config */);

module.exports = withVanillaExtract(/* Your custom Next.js config */);
  1. Add the Babel plugin to your .babelrc file
{
  "presets": ["next/babel"],
  "plugins": ["@vanilla-extract/babel-plugin"]
}

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100