@docus/windicss-module
v1.0.2
Published
The Docus WindiCSS implementation.
Downloads
4
Readme
Docus WindiCSS Module
WindiCSS scanning compatible with Docus.
Quick Setup
- Add
@docus/windicss-module
dependency to your project:
# Using Yarn
yarn add --dev @docus/windicss-module
# Using NPM
npm install --save-dev @docus/windicss-module
- Add
@docus/windicss-module
to thebuildModules
section of yournuxt.config.js
{
buildModules: ['@docus/windicss-module']
}
Usage
- Add a
windi.config.{js|ts}
file at the root of yourthemeDir
. - Write your
windi.config
file as you would usually do. - It gets merged with the user Windi config (
rootDir/windi.config
) file. - You also get full scanning of Windi classes into Span Syntax.
Development
- Clone this repository
- Install dependencies using
yarn install
- Start dev server using
yarn dev