Home

Issue: 3193

Nuxt's default webpack config does not handle .vue extension imports inside pages

[issue link]

When I import a .vue file inside a page, it fails to resolve unless I specify the extension.
For example, this will fail to load:

<script>
import MagnifyIcon from "vue-material-design-icons/magnify"

export default {
  ...
}
</script>

And this will succeed:

<script>
import MagnifyIcon from "vue-material-design-icons/magnify.vue"

export default {
  ...
}
</script>
This question is available on Nuxt.js community (#c6849)