You seem to have a few issues going on here. First things first, you
can't use both steal and es6 in the same file. Perhaps you did this
because myapp/core/init.js
is written in steal so you thought you needed to "steal" it
in main.js? That's not actually the case, you can mix and match
syntaxes in the same project, but not the same file. So fix your
main.js to do:
- import $ from 'jquery';
- import init from ' myapp/core/init';
And
then let me know what happens next.