Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Can't import Hello.vue component #71

Description

I'm trying to to run npm run build and I am getting this error

ERROR in ./src/components/Hello.vue (./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/Hello.vue)
Module not found: Error: Can't resolve './components/Hello.vue' in 'D:\Projects\typescript-vue-tutorial\src\components'  @ ./src/components/Hello.vue (./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/Hello.vue) 2:0-52 10:24-38
 @ ./src/components/Hello.vue
 @ ./src/index.ts

ERROR in D:\Projects\typescript-vue-tutorial\src\index.ts
[tsl] ERROR in D:\Projects\typescript-vue-tutorial\src\index.ts(2,28)
      TS2307: Cannot find module './components/Hello.vue'.

image

I can't figure it out. I am already using "vue-loader": "^14.2.2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions