Skip to content
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

fix(docs): update docs/examples related to @unocss/postcss #3740

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 7 additions & 5 deletions docs/integrations/postcss.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ This package is in an experimental state right now. It doesn't follow semver, an
:::

```ts
// postcss.config.cjs
module.exports = {
plugins: {
'@unocss/postcss': {},
},
// postcss.config.mjs
import UnoCSS from '@unocss/postcss'

export default {
plugins: [
UnoCSS(),
],
}
```

Expand Down
5 changes: 0 additions & 5 deletions examples/vite-svelte-postcss/postcss.config.cjs

This file was deleted.

7 changes: 7 additions & 0 deletions examples/vite-svelte-postcss/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import UnoCSS from '@unocss/postcss'

export default {
plugins: [
UnoCSS(),
],
}
5 changes: 0 additions & 5 deletions examples/vite-vue3-postcss/postcss.config.cjs

This file was deleted.

7 changes: 7 additions & 0 deletions examples/vite-vue3-postcss/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import UnoCSS from '@unocss/postcss'

export default {
plugins: [
UnoCSS(),
],
}