uno.config.js 336 B

123456789101112131415161718
  1. import {defineConfig, presetAttributify, presetUno, transformerDirectives} from 'unocss'
  2. export default defineConfig({
  3. presets: [
  4. presetUno(),
  5. presetAttributify()
  6. ],
  7. transformers: [
  8. transformerDirectives()
  9. ],
  10. content: {
  11. pipeline: {
  12. include: [
  13. 'src/**/*.{vue,js,ts,jsx,tsx}'
  14. ]
  15. }
  16. }
  17. })