Our powerful JS Calendar component


Post by vtx »

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 »

Hi!

Changes were published in 4.1.6 version.

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.

Also please open a separate thread for each question.


Post Reply