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