Vue running
xxxxxxxxxx
35
 
1
<script setup>
2
   import { ref } from 'vue'
3
   import { EButton } from 'eurus-ui'
4
   import { ElButton } from 'element-plus'
5
   import { QBtn } from 'quasar'
6
   const msg = ref('Hello World!')
7
​
8
​
9
   const handleClick = () => {
10
     alert('瞅你咋地?')
11
   }
12
 </script>
13
 <template>
14
   <h3>{{ msg }}</h3>
15
   <input v-model='msg'>
16
   <br/>
17
   <h4>element-plus</h4>
18
   <el-button @click='handleClick'>element-plus</el-button>
19
   <h4>eurus-ui</h4>
20
   <e-button @click='handleClick'>eurus-ui</e-button>
21
    <h4>quasar</h4>
22
    <q-btn color="white" text-color="black" label="Standard" />
23
    <q-btn color="primary" label="Primary" />
24
    <q-btn color="secondary" label="Secondary" />
25
    <q-btn color="amber" glossy label="Amber" />
26
    <q-btn color="brown-5" label="Brown 5" />
27
    <q-btn color="deep-orange" glossy label="Deep Orange" />
28
    <q-btn color="purple" label="Purple" />
29
    <q-btn color="black" label="Black" />
30
 </template>
31
 <style>
32
   h1 {
33
     color: red;
34
   }
35
 </style>