-
-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application does not render in IE/Edge #28
Comments
Hmm, interesting. Some quick Google search seems to suggest this is a trailing comma issue. For example: var obj = {
id: 123,
name: 'bla', <--
} I'll have to test this manually and see if I can track down the issue. |
+1 Stunning library by the way, but unfortunately a gamebreaker for me, as long as it's not running in IE 11. |
Any updates on this issue? I would really appreciate to use this amazing library in the software I'm currently working on. Anyway, keep up the excellent work. :) |
Adding this code into module: {
rules: [{
test: /\.js?$/,
use: [{
loader: 'babel-loader',
options: mix.config.babel()
}]
}]
}, |
@Elod10, I'm not sure what I did wrong, but if I add in |
@Elod10 @zappzerapp webpack.mix.js:
.babelrc:
package.json:
Polyfill was necessary in my setup to achieve compatibility with IE. |
Yeah, it looks good now. Thank you @chelfenbein |
This is caused by inertiajs/inertia#54, and will be solved when version 0.1 is released! Note that some polyfills might always be necessary, but we'll document those in the future. |
Inertia 0.1 has been released, so this is solved! |
@zappzerapp do you still need to import babel-polyfill in webpack.mix.js? |
@paulotra i had to extend the webpack.mix.js by the following code
Besides, I had to add |
After installing the Ping CRM demo application according to the documentation it works as expected in Firefox and Google Chrome browsers, but when trying to access it in IE/Edge the application does not render and the Javascript console shows the following error:
"SCRIPT1028: SCRIPT1028: Expected identifier, string or number" app.js (522, 1)
I've experienced the same issue with another application I've migrated to InertiaJS so it might be a general issue with InertiaJS.
The text was updated successfully, but these errors were encountered: