[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
index.js:
.vuefile 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>
相关文章推荐
- [Poi] Customize Babel to Build a React App with Poi
- Build Your First Mobile App With Ionic 2 & Angular 2 - Part 1
- android-build app with Contacts & Sign-In
- Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'. > com.android.build
- This app has been built with an incorrect configuration. Please configure your build for VectorDrawa
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.tran
- Build Your First Mobile App With Ionic 2 & Angular 2 - Part 2
- Build a Basic CRUD App with Angular 5.0 and Spring Boot 2.0
- 使用AS编译时,报Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.tran
- Build Your First Mobile App With Ionic 2 & Angular 2 - Part 3
- 关于Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.tr
- Error:Execution failed for task ':app:transformJackWithJackForDebug'. > com.android.build.api.transf
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.tran
- Gradle build error, Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.tran
- This app has been built with an incorrect configuration. Please configure your build for VectorDrawa
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.tran
- 解决Gradle build finished with 744 error(s) in 4m 33s 896ms。同时加快build apk即生成app的过程
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.transform.TransformEx