anu
anu copied to clipboard
WARN [unocss] include option is deprecated, use content.pipeline.include instead.
unocss version: 0.55.7
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'], }, },
})
I had the same problem