Hello there,
I’m trying to use the salvattore.js script. It works perfectly fine when I’m doing yarn run build
, but if I try to use it with yarn run start
it doesn’t work.
After yarn install 'salvattore'
, this is how I import it:
import 'salvattore/dist/salvattore.min.js';
If I have a look into the main.js while yarn run start
is running, I can find the salvattore code is in it. So I suggest, maybe it is not working, because it is not loaded early enough to do it’s magic?
Well hopefully there is an easy fix to it as it is not nice that I have to build everytime to test the theme. Thanks in advance