Closed TongDaDa closed 6 years ago
Excuse me, How to use this import to introduce framework7 ?
Did you fix this error? i had the same problem here
I am not an expert but perhaps if you change the following lines
import Framework7 from 'framework7/dist/framework7.esm.bundle.js'
import Framework7Vue from 'framework7-vue/dist/framework7-vue.esm.bundle.js'
and
Vue.use(Framework7Vue)
into
Vue.use(Framework7Vue, Framework7)
This works for version v2.
Ps, This kind of question are more suitable to ask at the F7 forum
the official said
However, I through the import did not see anything, let alone registered window
open node_modules see framework7 except dist folder no entry file
window.framework7 is not defined. i have already import framework7 , why isn't framework7 ?