mirror of
https://github.com/taigrr/wails.git
synced 2026-04-16 19:55:05 -07:00
39 lines
486 B
Vue
39 lines
486 B
Vue
<template>
|
|
<div class="hello">
|
|
<h1>{{ msg }}</h1>
|
|
<p></p>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "HelloWorld",
|
|
props: {
|
|
msg: String
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
<style scoped>
|
|
.hello {
|
|
margin-top: 2em;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
h3 {
|
|
margin: 40px 0 0;
|
|
}
|
|
ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
li {
|
|
display: inline-block;
|
|
margin: 0 10px;
|
|
}
|
|
a {
|
|
color: gold;
|
|
}
|
|
</style>
|