We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b3dc23 commit ca7d8bcCopy full SHA for ca7d8bc
2 files changed
examples/nested-components/pages/index.vue
@@ -22,8 +22,8 @@
22
</template>
23
24
<script>
25
-import Post from '~components/post.vue'
26
-import vP from '~components/paragraph.vue'
+import Post from '~components/post'
+import vP from '~components/paragraph'
27
const vHr = { render: (h) => h('hr', { class: 'hr' }) }
28
29
export default {
lib/build/webpack/base.config.js
@@ -24,6 +24,7 @@ module.exports = function () {
publicPath: urlJoin(this.options.router.base, '/_nuxt/')
},
resolve: {
+ extensions: ['.js', '.vue'],
// Disable for now
alias: {
30
'~': join(this.srcDir),
0 commit comments