Comments (1)
The configuration for outputtocsslayers document is correct. It seems like the example hasn't been updated. The following configuration can rename a layer.
outputToCssLayers: {
cssLayerName: (layer) => {
if (layer === 'default')
return 'utilities'
if (layer === 'shortcuts')
return 'utilities.shortcuts'
},
}
from unocss.
Related Issues (20)
- error when starting dev server: TypeError: (0 , _presetWind.presetWind) is not a function HOT 7
- TypeError: (0 , _vite.defineConfig) is not a function HOT 2
- parseCssColor return CSSColorValue have wrong type HOT 1
- Whether to support customizing the copy code text in the code box
- Chaining arbitrary values doesn't seem to work
- Unocss is not working on iOS below 16.4 as it doesn`t support lookbehind regexp
- Vscode unocss not working HOT 4
- css not working properly (UnoCSS/Storyblok) HOT 1
- Icons Preset Causes Large CSS Bundle - Need Solution for On-Demand CSS for Vue Components HOT 1
- 【Feature】Select alternative versions with playground support. HOT 7
- !:flex-grow-0 and important:flex-grow-0 not working
- 【Bug? => Next.js & Transformers: Directives, VariantGroup, CompileClass, presetAttributify!】 Insufficient coverage About `presetAttributify` using `AttributifyAttributes` on JSX Element? HOT 5
- VSCode extension autocomplete not working HOT 1
- mb-14px 不生效?写mb14px才生效?
- @unocss/runtime icons disappear randomly. HOT 2
- it doesn't work when I use unocss to set some antd component style HOT 2
- failed to load icon for `vue key word: for, if, return, ...` HOT 1
- UnoCSS SvelteKit Configuration HOT 2
- Unocss Interactive Docs is freezing HOT 3
- Not support multiple `:not` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unocss.