7 changed files with 8268 additions and 30 deletions
@ -0,0 +1,43 @@
@@ -0,0 +1,43 @@
|
||||
"use strict"; |
||||
Object.defineProperty(exports, "__esModule", { value: true }); |
||||
var preset_rem_to_px_1 = require("@unocss/preset-rem-to-px"); |
||||
var unocss_preset_scalpel_1 = require("unocss-preset-scalpel"); |
||||
var index_1 = require("./src/uno-preset/src/index"); |
||||
var unocss_1 = require("unocss"); |
||||
exports.default = (0, unocss_1.defineConfig)({ |
||||
shortcuts: [], |
||||
theme: { |
||||
colors: {}, |
||||
}, |
||||
content: { |
||||
pipeline: { |
||||
include: [ |
||||
//参考:https://unocss.dev/guide/extracting#extracting-from-build-tools-pipeline
|
||||
/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/, |
||||
'src/**/*.{js,ts}', |
||||
'src/router/index.ts', |
||||
'src/views/home/utils/menuConfig.ts', |
||||
], |
||||
}, |
||||
}, |
||||
rules: [['wh-full', { width: '100%', height: '100%' }]], |
||||
presets: [ |
||||
(0, preset_rem_to_px_1.default)(), |
||||
(0, unocss_preset_scalpel_1.presetScalpel)(), |
||||
(0, unocss_1.presetWind3)(), |
||||
(0, index_1.presetSoybeanAdmin)(), |
||||
(0, unocss_1.presetAttributify)({ |
||||
prefix: 'uno-', |
||||
prefixedOnly: true, |
||||
}), |
||||
(0, unocss_1.presetIcons)({ |
||||
scale: 1.2, |
||||
warn: true, |
||||
}), |
||||
(0, unocss_1.presetTypography)(), |
||||
(0, unocss_1.presetWebFonts)({ |
||||
fonts: {}, |
||||
}), |
||||
], |
||||
transformers: [(0, unocss_1.transformerDirectives)(), (0, unocss_1.transformerVariantGroup)()], |
||||
}); |
Loading…
Reference in new issue