Skip to content

Commit

Permalink
update sfc-css-features.md
Browse files Browse the repository at this point in the history
Update theme to reactive  property
  • Loading branch information
GmavionR authored Mar 14, 2024
1 parent a8cf7bf commit 53cf913
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/api/sfc-css-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,10 @@ The syntax works with [`<script setup>`](./sfc-script-setup), and supports JavaS

```vue
<script setup>
const theme = {
color: 'red'
}
import { ref, reactive } from 'vue'
const theme = reactive({
color: 'red',
})
</script>
<template>
Expand Down

0 comments on commit 53cf913

Please sign in to comment.