Comments (7)
When this started we had object syntax and merging both objects did the job. However, with array value, we have to change how merging is performed.
ATM, I am working on --a-spacing
feature. Once I am done with that I will resolve this issue.
from anu.
It's resolved now, you can try latest updates via edge releases: #114
Please give it a try and let me know π
from anu.
Hi ππ»
Docs needs update, if you look at the source file btn
is not a-btn
.
Try below and let me know:
shortcutOverrides: {
'a-btn': 'px-[1.75em] py-[0.375em] rounded-[0.375em] gap-x-[0.375em] whitespace-nowrap',
},
from anu.
I used an example from the documentation just for the purpose of the issue. I actually need to override a-base-input-root
which I have made sure is contained in the source file. It worked fine until version 0.7.2. In later ones it raises this error until I comment out shortcutOverrides.
from anu.
I guess this is because we are no longer using object syntax for shortcuts. It's now array.
Need to dig shortcut options deeper in UnoCSS.
from anu.
You mean like this ?
shortcutOverrides: [
{
"a-btn": "px-[1.75em] py-[0.375em] rounded-[0.375em] gap-x-[0.375em] whitespace-nowrap",
},
]
This gives me the same error.
Even this syntax doesn't work:
shortcutOverrides: [
[/^a-btn$/, () => 'px-[1.75em] py-[0.375em] rounded-[0.375em] gap-x-[0.375em] whitespace-nowrap'],
]
from anu.
@jd-solanki shall we keep this open until resolved?
from anu.
Related Issues (20)
- feat: chip closable advance HOT 2
- Styles are not loaded in the latest Nuxt HOT 7
- [docs] Components such as Select and Radio in the document cannot interact HOT 1
- svelte support HOT 1
- nuxt - anu-vue/volar HOT 3
- update vueuse peerDependencies
- WARN [unocss] include option is deprecated, use content.pipeline.include instead. HOT 2
- Tabs border does not respond to window size change HOT 1
- [unocss] include option is deprecated, use content.pipeline.include instead. But, I didn't use include.
- Colors broken with UnoCSS v0.57 HOT 7
- Have a Bug in the switch component? HOT 3
- typescript types errorοΌ HOT 2
- π€Ήπ»ββοΈ Framework stability in Vue Ecosystem & my vision HOT 4
- update vue peerDependencies HOT 1
- How the selection box sets the properties of the display HOT 1
- [Select] Feature request: Groups for the select element
- v1
- List component unusable with TypeScript HOT 4
- ADatatable : event on clicked / hovered
- Style conflict vitepress 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 anu.