2017-12-08 13 views
-1

私は初心者でフレームワーク7 2.0.2をvue-webpack定型テンプレートで使いたいと思っています。何か案は?フレームワーク7 with Vue with framework7-vue

私がdevサーバを実行すると、クロムは何もエラーのない空白のページを表示しますが、私がに変更すると、 はvueコントローラの内容を表示します。

助けを探しています。

import Vue from 'vue’ 
 
import 'framework7/dist/js/framework7’ 
 
import 'framework7/dist/css/framework7.css’ 
 
import Routes from './routes.js’ 
 
import App from ‘./App’ 
 
/* eslint-disable no-new/
 
// Init App 
 
new Vue({ 
 
el: ‘#app’, 
 
template: ‘’, 
 
// Init Framework7 by passing parameters here 
 
framework7: { 
 
/id: ‘io.framework7.testapp’,/
 
root: ‘#app’, 
 
/Uncomment to enable Material theme: material: true, */ 
 
material: true, 
 
theme: ‘md’, 
 
routes: Routes 
 
}, 
 
// Register App Component 
 
components: { 
 
app: App 
 
} 
 
})

答えて

0

これらの命令を使用して、使用可能なスターターテンプレートがあります:

https://framework7.io/vue/templates.html

これはgitのクローンを作成するためにあなたを必要とします 私main.jsコードは、このようなものですリポジトリに保存されているので、新しいことがあれば、これがどのように行われているかを調べて読む必要があります:

https://git-scm.com/book/en/v2

これを正しく設定すると、実行中のアプリをすぐに入手することができます。がんばろう。