Skip to content

Commit

Permalink
docs: make example consistent with ref recommendation as standard
Browse files Browse the repository at this point in the history
  • Loading branch information
bencodezen committed Apr 25, 2024
1 parent 53cf913 commit 56c319f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/sfc-css-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ The syntax works with [`<script setup>`](./sfc-script-setup), and supports JavaS

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

0 comments on commit 56c319f

Please sign in to comment.