Learn more from guides & API docs
Catch up with the latest on the blog
Try our many live demos
View webinars
Find answers or ask questions
Docs & demos for Angular
Docs & demos for React
Docs & demos for Vue
Our powerful JS Calendar component
Post by vtx » Tue Jul 20, 2021 4:53 pm
Thanks a lot!
Sorry for my late reply, have been busy with some other matters.
Are these changes (the patch) included in the 4.2.1 release?
The above example works fine for me, however, in my project where I'm using the 4.2.1 npm I'm still getting the same error
import './src/WrapperHelper.js'; ^^^^^^ SyntaxError: Cannot use import statement outside a module
Post by sergey.maltsev » Wed Jul 21, 2021 7:30 am
Hi!
Changes were published in 4.1.6 version.
4.1.6
Please check if you have correct babel config in babel.config.js.
Should have something like this:
module.exports = { presets: [ '@vue/cli-plugin-babel/preset' ] }
You may compare other project files with attached example which works with 4.2.1. As usual if you have a problem please attach application code here so we can check it.
4.2.1
Also please open a separate thread for each question.