您的位置:首页 > 移动开发

[Poi] Build a Vue App with Poi

2018-01-03 03:14 316 查看
Poi uses the Vue babel presets by default, so there is no additional install required to get up-and-running. You can even use the
.vue
file format without having to configure anything.

index.js:

import Vue from 'vue'
import App from './App.vue'

new Vue({
el: "#app",
render: h =>  h(App)
})

// App.vue
<template>
<h1> {{message}}</h1>
</template>
<script>
export default {
data() {
return {
message: 'Hello Poi'
}
}
}
</script>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐