2.1.2 • Published 3 years ago

@codeperate/stencil-windicss v2.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

stencil-windicss

This is a stencil plugin for you to use windicss in your stencil project.

Change Log

  • 2.1.2 support rewriteClass config, disable this will not support grouping class variant e.g.(focused:(bg-red-600 border))
  • 2.1.1 support extract include and exclude
  • 2.1.0 added preflight mode

Important

  • Currently does not support attribute mode, compile mode and prefix.
  • Only .js config file is supported.
  • This project is still in development. Take your own risk on production usage.

Install

npm i @codeperate/stencil-windicss -D
// stencil.config.ts
import { windicssStencil } from '@codeperate/stencil-windicss';

export const config: Config = {
	plugins: [
		...windicssStencil({
			configFile: 'windi.config.js', //These are the default value
			out: 'windi.css',
			preflight: false,
		}),
	],
};

In your html

<link href="/build/windi.css" rel="stylesheet" />
2.1.2

3 years ago

2.1.1

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.9

3 years ago

2.0.10

3 years ago

2.0.8

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago