From 700dac155010c886b592d132de2fbea086b6b1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 18 Oct 2023 11:25:22 +0300 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 689808454..ab06f045e 100644 --- a/README.md +++ b/README.md @@ -134,8 +134,16 @@ primevue: { } ``` +In styled mode, the theme can be defined at Nuxt configuration with the css property. Note that this only applies to styled mode, in unstyled mode a theme file is not required as styling is done externally. + For detailed [information](https://primevue.org/nuxt) +```javascript +export default defineNuxtConfig({ + css: ['primevue/resources/themes/lara-dark-teal/theme.css'] +}); +``` + ## Example We've created various samples for the popular options in the Vue ecosystem. Visit the [primevue-examples](https://github.com/primefaces/primevue-examples) repository for the samples.