-
Notifications
You must be signed in to change notification settings - Fork 651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(plugins): Add unocss plugin (WIP) #1966
Commits on Dec 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ce00199 - Browse repository at this point
Copy the full SHA ce00199View commit details -
Configuration menu - View commit details
-
Copy full SHA for f75ece6 - Browse repository at this point
Copy the full SHA f75ece6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d33431 - Browse repository at this point
Copy the full SHA 8d33431View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a6736e - Browse repository at this point
Copy the full SHA 8a6736eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fd6ffe - Browse repository at this point
Copy the full SHA 5fd6ffeView commit details -
fix(plugins): remove unnecessary
?bundle&no-check
from `@unocss/pre……set-uno` import
Configuration menu - View commit details
-
Copy full SHA for 6321ba5 - Browse repository at this point
Copy the full SHA 6321ba5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c09a4a1 - Browse repository at this point
Copy the full SHA c09a4a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95fa44f - Browse repository at this point
Copy the full SHA 95fa44fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0767888 - Browse repository at this point
Copy the full SHA 0767888View commit details -
chore(plugins): bump
@unocss/reset
versionCo-authored-by: Lino Le Van <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f223bc2 - Browse repository at this point
Copy the full SHA f223bc2View commit details -
chore(plugins): bump
@unocss/core
versionCo-authored-by: Lino Le Van <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 488de1e - Browse repository at this point
Copy the full SHA 488de1eView commit details -
chore(plugins): bump
@unocss/core
and@unocss/preset-uno
versionCo-authored-by: Lino Le Van <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5e49a2 - Browse repository at this point
Copy the full SHA b5e49a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for de9b22b - Browse repository at this point
Copy the full SHA de9b22bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55e7906 - Browse repository at this point
Copy the full SHA 55e7906View commit details -
Configuration menu - View commit details
-
Copy full SHA for e660f1b - Browse repository at this point
Copy the full SHA e660f1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6f204b - Browse repository at this point
Copy the full SHA f6f204bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dd2bfa - Browse repository at this point
Copy the full SHA 7dd2bfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0a1bcf - Browse repository at this point
Copy the full SHA b0a1bcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae545fc - Browse repository at this point
Copy the full SHA ae545fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c91354 - Browse repository at this point
Copy the full SHA 1c91354View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25df128 - Browse repository at this point
Copy the full SHA 25df128View commit details -
Configuration menu - View commit details
-
Copy full SHA for d301e1b - Browse repository at this point
Copy the full SHA d301e1bView commit details -
In the UnoCSS plugin pass the config to runtime
- Define a Config interface for the plugin, which extends UnoCSS UserConfig with a selfURL property - Add a `defineConfig()` function for help with types, and make it easier to adapt existing UnoCSS config modules for use with the plugin - Move the runtime script inline
Configuration menu - View commit details
-
Copy full SHA for af7175d - Browse repository at this point
Copy the full SHA af7175dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5adfdcd - Browse repository at this point
Copy the full SHA 5adfdcdView commit details -
Use `init()` function of `@unocss/runtime` instead of manually injecting the script tag to avoid fetching it (redundantly) in the client, and instead ship runtime with `plugin-unocss.main.ts`. Co-authored-by: 木杉 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a52a2b - Browse repository at this point
Copy the full SHA 9a52a2bView commit details -
chore(plugins): update querySelector to style[data-unocss-runtime-lay…
…er="default"] in fixture_unocss_hydrate
Configuration menu - View commit details
-
Copy full SHA for 3364741 - Browse repository at this point
Copy the full SHA 3364741View commit details -
Update docs/latest/examples/using-unocss.md
Co-authored-by: 木杉 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd03d64 - Browse repository at this point
Copy the full SHA bd03d64View commit details -
UnoCSS plugin use uno.config.ts
- Import config from uno.config.ts if no config object is explicitly provided - Always use uno.config.ts as the import source for the browser runtime config - This avoids the complexity of selfURL, allowing the plugin to use standard Uno config files
Configuration menu - View commit details
-
Copy full SHA for 3bc0bd8 - Browse repository at this point
Copy the full SHA 3bc0bd8View commit details -
UnoCSS plugin: Add defineConfig() helper function
It is the same as found in the unocss package, but that can not currently be safely imported in Deno (due to Node-specific code in the icons preset).
Configuration menu - View commit details
-
Copy full SHA for 2392657 - Browse repository at this point
Copy the full SHA 2392657View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33eb302 - Browse repository at this point
Copy the full SHA 33eb302View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70677a0 - Browse repository at this point
Copy the full SHA 70677a0View commit details -
UnoCSS plugin: Update the inline reset
Use tailwind-compat.css instead of tailwind.css as the source. This resolves a specificity problem affecting button backgrounds: unocss/unocss#2127
Configuration menu - View commit details
-
Copy full SHA for 3a70496 - Browse repository at this point
Copy the full SHA 3a70496View commit details -
Support AOT build in UnoCSS plugin
- Add separate SSR, CSR & AOT config options - Bump UnoCSS version to 0.56.5
Configuration menu - View commit details
-
Copy full SHA for 7ce943c - Browse repository at this point
Copy the full SHA 7ce943cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 597f3b1 - Browse repository at this point
Copy the full SHA 597f3b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b4e8cc - Browse repository at this point
Copy the full SHA 0b4e8ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4716624 - Browse repository at this point
Copy the full SHA 4716624View commit details
Commits on Dec 20, 2023
-
- Use middleware to maintain "AOT" behaviour in dev mode - Use new configResolved() plugin hook to resolve UnoCSS config file - Reduce effort during renders in SSR mode
Configuration menu - View commit details
-
Copy full SHA for 5d845c4 - Browse repository at this point
Copy the full SHA 5d845c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3bcce7 - Browse repository at this point
Copy the full SHA e3bcce7View commit details