add solution
parent
550c7ecc4b
commit
a37263efff
|
|
@ -1,7 +1,15 @@
|
|||
<script setup></script>
|
||||
<script setup>
|
||||
const name = 'your-name'
|
||||
const textClass = 'text'
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<h1>Hello World</h1>
|
||||
<h1 :class="textClass">Hello {{ name }}</h1>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
<style scoped>
|
||||
.text {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue