Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARN [unocss] include option is deprecated, use content.pipeline.include instead. #213

Open
everyx opened this issue Sep 6, 2023 · 2 comments

Comments

@everyx
Copy link
Contributor

everyx commented Sep 6, 2023

unocss version: 0.55.7

@Shurl1k
Copy link

Shurl1k commented Oct 21, 2023

Create the UnoCSS Config file uno.config.js

import { presetAnu, presetIconExtraProperties } from 'anu-vue'
import { presetThemeDefault } from '@anu-vue/preset-theme-default'
import {
defineConfig,
presetIcons,
presetUno,
} from 'unocss'

export default defineConfig({
presets: [
presetUno(),
presetIcons({
scale: 1.2,
extraProperties: presetIconExtraProperties,
}),

// anu-vue preset
presetAnu(),

// default theme preset
presetThemeDefault(),

],

   // include option 

content: {
pipeline: {
include: [/./anu-vue.js(.)?$/, './/*.vue', './/*.md'],
},
},

})

@QC2168
Copy link

QC2168 commented Nov 19, 2023

I had the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants