Open ralphjesy12 opened 7 years ago
It should work, with ES6 imports & webpack... Another option would be to use Laravel Mix instead of Elixir.
This source for this component uses imports without specifying .vue in the filename:
From vue-bulma-tabs/src/index.js
:
import Tabs from './Tabs' // should be './Tabs.vue'
To work around this you'll need to configure webpack to import .vue files without needing an extension. Adding the following to your webpack config should resolve the issue:
resolve: {
extensions: ['*', '.js', '.vue'],
},
I am using Gulp.js via Laravel Elixir and Webpack