Skip to content

Commit

Permalink
feat: add PostCSS for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
rileychh committed Sep 26, 2024
1 parent 59131eb commit a209f4c
Show file tree
Hide file tree
Showing 4 changed files with 171 additions and 119 deletions.
2 changes: 1 addition & 1 deletion app/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const [mobileMenuOpen, toggleMobileMenu] = useToggle(false)
<NuxtPage />
</template>

<style>
<style lang="postcss">
body {
font-family: 'Cubic 11';
}
Expand Down
5 changes: 5 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ export default defineNuxtConfig({
'radix-vue/nuxt',
'unplugin-icons/nuxt',
],
postcss: {
plugins: {
'postcss-nesting': {},
},
},
})
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"@vueuse/core": "11.0.3",
"@vueuse/nuxt": "11.0.3",
"nuxt": "3.13.1",
"postcss": "8.4.47",
"postcss-nesting": "13.0.0",
"radix-vue": "1.9.5",
"unplugin-icons": "0.19.3",
"vue": "3.5.2",
Expand Down
Loading

0 comments on commit a209f4c

Please sign in to comment.