Open ihabtawfig opened 4 years ago
Hi I am trying to use kepad for v5 as follows:
import Framework7 , {Template7} from 'framework7/framework7.esm.bundle.js'; Framework7.use(Framework7Keypad); var app = new Framework7({ ......
but app won't start and always gives:
class.js:150 Uncaught TypeError: Cannot read property 'name' of undefined at Function.installModule (class.js:150)
What could be the reason ? thanks
Looks like the esm bundle is missing from the dist frolder on v3.0.1 release So the f7 can't find the module. simple use import 'framework7-plugin-keypad/dist/framework7-keypad.min.js'; That worked for me
import 'framework7-plugin-keypad/dist/framework7-keypad.min.js';
Hi I am trying to use kepad for v5 as follows:
but app won't start and always gives:
What could be the reason ? thanks