A simple way to use vanilla-extract with Docusaurus
npm i docusaurus-plugin-vanilla-extract
Basic Usage:
// docusaurus.config.js
const config = {
plugins: ["docusaurus-plugin-vanilla-extract"],
};
Using Vanilla Extract config (WIP)
// docusaurus.config.js
const config = {
plugins: [
[
"docusaurus-plugin-vanilla-extract",
{
/*enter config */
},
],
],
};
Vanilla Extract Plugin config Reference