Hi.
I have added Welcome Screen / Intro F7 Plugin to my project according to the tutorial (https://github.com/valnub/Framework7-Plugin-Welcomescreen)
But there is an error for the following line “Uncaught SyntaxError: Unexpected identifier”
import welcomescreen from ‘f7-welcomescreen’;
I also tried these variations:
import welcomescreen from ‘f7-welcomescreen.js’;
import welcomescreen from ‘./f7-welcomescreen.js’;
import welcomescreen from ‘lib/f7-welcomescreen.js’;
import welcomescreen from ‘lib/f7-welcomescreen’;
Then I added “” to index.html despite not being in the tutorial. And the error is:
js/f7.welcomescreen.js:1 Failed to load module script: The server responded with a non-JavaScript MIME type of “”. Strict MIME type checking is enforced for module scripts per HTML spec.