17 lines
236 B
Vue
17 lines
236 B
Vue
|
<template >
|
||
|
<h1 >{{greeting}} world</h1 >
|
||
|
</template >
|
||
|
|
||
|
<script>
|
||
|
module . exports =
|
||
|
{data : function () {return {
|
||
|
greeting: "Hello"
|
||
|
}}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped >
|
||
|
p { font-size : 2em ; text-align : center ; }
|
||
|
|
||
|
</style >
|