@docus/windicss
v1.1.5
Published
The Docus WindiCSS implementation.
Downloads
38
Readme
Docus WindiCSS Module
WindiCSS scanning compatible with Docus.
Quick Setup
- Add
@docus/windicss
dependency to your project:
# Using Yarn
yarn add --dev @docus/windicss
# Using NPM
npm install --save-dev @docus/windicss
- Add
@docus/windicss
to thebuildModules
section of yournuxt.config.js
{
buildModules: ['@docus/windicss']
}
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