anu icon indicating copy to clipboard operation
anu copied to clipboard

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

Open everyx opened this issue 2 years ago • 2 comments

unocss version: 0.55.7

everyx avatar Sep 06 '23 03:09 everyx

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'], }, },

})

Shurl1k avatar Oct 21 '23 08:10 Shurl1k

I had the same problem

QC2168 avatar Nov 19 '23 04:11 QC2168