Merge branch 'prod'

pull/6211/head^2
Cagatay Civici 2024-08-12 10:30:17 +03:00
commit ea5a98daba
1 changed files with 2 additions and 2 deletions

View File

@ -39,12 +39,12 @@ app.use(PrimeVue, {
},
code2: {
basic: `
<Button label="Toggle Color Scheme" @click="toggleColorScheme()" />
<Button label="Toggle Dark Mode" @click="toggleDarkMode()" />
`
},
code3: {
basic: `
const toggleColorScheme() {
function toggleDarkMode() {
const element = document.querySelector('html');
element.classList.toggle('my-app-dark');
}