@unocss/extractor-pug 0.50.7 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -17
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,24 +1,10 @@
|
|
|
1
1
|
# @unocss/extractor-pug
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Support extracting classes from Pug template.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Documentation
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
npm i -D @unocss/extractor-pug
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
```ts
|
|
12
|
-
import extractorPug from '@unocss/extractor-pug'
|
|
13
|
-
import { extractorSplit } from '@unocss/core'
|
|
14
|
-
|
|
15
|
-
UnoCSS({
|
|
16
|
-
extractors: [
|
|
17
|
-
extractorPug(),
|
|
18
|
-
extractorSplit,
|
|
19
|
-
],
|
|
20
|
-
})
|
|
21
|
-
```
|
|
7
|
+
Please refer to the [documentation](https://unocss.dev/extractors/pug).
|
|
22
8
|
|
|
23
9
|
## License
|
|
24
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/extractor-pug",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.51.0",
|
|
4
4
|
"description": "UnoCSS extractor for Pug",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/pug": "^2.0.6",
|
|
46
46
|
"pug": "^3.0.2",
|
|
47
|
-
"@unocss/core": "0.
|
|
47
|
+
"@unocss/core": "0.51.0"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "unbuild",
|