Comments (2)
The vite plugin is now ESM only. Change your vite.config.ts
to vite.config.mts
, or set type: module
in your package json.
from unocss.
没理解,按照vite的说法https://cn.vitejs.dev/config/,我是不需要配置type:module吧
from unocss.
Related Issues (20)
- install unocss error HOT 1
- vscode multi-workspace plugin is invalid HOT 1
- `transformer-directives` transforms opacities incorrectly
- `--at-apply` Hex colors not working HOT 3
- npm ERR! notarget No matching version found for @unocss/[email protected].
- extractors not working with cli
- Directives should ignore inline comments
- `--at-apply` (transformer directive) multiple bug on `0.60.1` HOT 1
- Properties with multiple values are not matched against shortcuts.
- [preset-mini] Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'startsWith')
- Slow unocss config loading since v0.59.0 HOT 3
- Support Arbitrary values for responsive
- Add helper comments for extended-colors when previewing.
- `vitest run` hangs until timeout with UnoCSS Astro integration
- transformerDirectives fails to apply in nested CSS
- grid HOT 2
- unocss not woking in Vue-cli5.0.8 HOT 2
- How to use use vue deep selector in unocss ?
- The inline style setting failed when I use transformerAttributifyJsx()
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.