Skip to content

Commit f231cef

Browse files
committed
docs: add UnoCSS and Tailwind integration guide
1 parent 8667bfb commit f231cef

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

docs/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export default withPwa(defineConfig({
121121
{ text: 'Common Setup', link: '/guide/styling/common-setup' },
122122
{ text: 'SASS Customization', link: '/guide/styling/sass' },
123123
{ text: 'Experimental Cache', link: '/guide/styling/caching' },
124+
{ text: 'UnoCSS and Tailwind', link: '/guide/styling/other-frameworks' },
124125
],
125126
},
126127
{
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Other Frameworks
2+
3+
Integrating Vuetify with utility-first CSS frameworks like Tailwind CSS or UnoCSS can significantly reduce your bundle size and provide a more flexible styling system. This approach allows you to leverage the best of both worlds: Vuetify's comprehensive component library and the modern, utility-first styling capabilities of other frameworks.
4+
5+
## New Project
6+
7+
The easiest way to start a new project with Vuetify and a CSS utility framework is to use the official scaffolding tool.
8+
9+
```bash
10+
pnpm create vuetify --platform nuxt
11+
# or
12+
npm create vuetify --platform nuxt
13+
# or
14+
yarn create vuetify --platform nuxt
15+
```
16+
17+
During the setup process, you can select **Nuxt** as the preset and then choose **UnoCSS** or **Tailwind CSS** as an optional module. This will automatically configure the project with the selected framework.
18+
19+
## Integration Guides
20+
21+
For detailed instructions and best practices on integrating Vuetify with existing projects or new setups, please refer to the following official resources:
22+
23+
- [CSS Utilities - Integration with existing projects](https://vuetifyjs.com/en/features/css-utilities/overview/#integration-with-existing-projects)
24+
- [Build with Nuxt and UnoCSS](https://vuetifyjs.com/en/blog/building-with-nuxt-and-unocss/)

0 commit comments

Comments
 (0)