• This project
    • Loading...
  • Sign in

fe / yohoblk-wap · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohoblk-wap
  • public
  • js
  • example
  • app.page.js
  • 调用原生APP方法示例
    e5540bd8
    by 郭成尧
    2016-07-22 20:39:48 +0800  
    Browse Files
app.page.js 304 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/**
 * Created by PhpStorm.
 * User: Targaryen
 * Date: 2016/7/22
 * Time: 20:20
 */

const Vue = require('yoho-vue');
const lazyload = require('yoho-vue-lazyload');

const appBox = require('example/app-box.vue');

new Vue({
    el: '#app',
    components: {
        appBox
    }
});

Vue.use(lazyload);