2019-07-03 14:50:04 +00:00
|
|
|
<template>
|
|
|
|
<div id="app">
|
2019-07-03 14:54:29 +00:00
|
|
|
<img src="./assets/logo.png">
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
If Element is successfully added to this project, you'll see an
|
|
|
|
<code v-text="'<el-button>'"></code>
|
|
|
|
below
|
|
|
|
</p>
|
|
|
|
<el-button>el-button</el-button>
|
|
|
|
</div>
|
2019-07-03 14:50:04 +00:00
|
|
|
<HelloWorld msg="Welcome to Your Vue.js App"/>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import HelloWorld from './components/HelloWorld.vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'app',
|
|
|
|
components: {
|
|
|
|
HelloWorld
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
#app {
|
|
|
|
font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
text-align: center;
|
|
|
|
color: #2c3e50;
|
|
|
|
margin-top: 60px;
|
|
|
|
}
|
|
|
|
</style>
|