Closed rogervila closed 4 years ago
Hello jeffrey,
I have a app.js file on resources/assets/js.
app.js
resources/assets/js
When I import a file from the same route level there is no problem, but when I try to import a file from a deeper level, gulp breaks.
This is the folder structure:
This is the app.js content:
import Config from './base/config'; import Test from './test'; console.log( Test ); console.log( Config );
The test.js and base/config.js content:
test.js
base/config.js
export default { test: 'testing message' };
What am I missing?
Thank you very much.
Hello jeffrey,
I have a
app.js
file onresources/assets/js
.When I import a file from the same route level there is no problem, but when I try to import a file from a deeper level, gulp breaks.
This is the folder structure:
This is the
app.js
content:The
test.js
andbase/config.js
content:What am I missing?
Thank you very much.