I cant get running this on Android 5.1 emulator.
When I’m trying to open app there is an error in console:
webpack:///./node_modules/framework7/utils/utils.js?:299
Uncaught TypeError: undefined is not a function
Could anyone help please and say what I’m doing wrong?
Browser (default webview) is Chrome 39 (Android Browser 4). Maybe the problem is in the browser and on a real device system webview will be updated?
Thank you in advance.
My babel.config.js
module.exports = {
presets: [
[
'@babel/preset-env',
{
modules: false,
targets: {
browsers: ['> 1%', 'last 2 versions', 'not ie <= 8']
}
}
]
],
plugins: [
'transform-vue-jsx',
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-transform-runtime'
]
};
And webpack.config.js rule
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules(\/|\\)(?!(framework7|framework7-vue|template7|dom7)(\/|\\)).*/
}