framework7io / framework7-vue

Deprecated! Build full featured iOS & Android apps using Framework7 & Vue
http://framework7.io/vue/
MIT License
674 stars 150 forks source link

framework7@2.0.6 and framework7-vue@2.0.0 not working ? #323

Closed ghost closed 6 years ago

ghost commented 6 years ago

error1 Hi,

I am using Laravel. I installed framework7@2.0.6 and framework7-vue@2.0.0

My source code

window.Framework7 = require('framework7') window.Framework7Vue = require('framework7-vue')

import Routes from './routes.js' import App from './App.vue' import { store } from './store'

Vue.use(Framework7Vue)

new Vue({ el: '#app', framework7: { root: '#app', routes: Routes }, render: h => h(App) })

These are error.

Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option

Help me !

I want using framework7v2.

skyliwq commented 6 years ago

Vue.use(Framework7Vue,Framework7)

wegorich commented 6 years ago

Same error Vue.use(Framework7Vue,Framework7) doesn't helps

nolimits4web commented 6 years ago

for 2.x versions there is Vue.use(Framework7Vue,Framework7). Check the v2 Kitchen Sink https://github.com/framework7io/framework7-vue/blob/master/kitchen-sink/src/app.js