Vue-next: Cannot find module './App.vue'.ts(2307)

Created on 18 Apr 2020  路  3Comments  路  Source: vuejs/vue-next

Version

3.0.0-beta.2

Reproduction link

https://github.com/vuejs/vue-next-webpack-preview

Steps to reproduce

  1. Clone vue sample project from https://github.com/vuejs/vue-next-webpack-preview
  2. Install all typescript related packages
  3. Change main.js to main.ts

What is expected?

import App from './App.vue' <- should be fine

What is actually happening?

import App from './App.vue' <- error prompted as
Cannot find module './App.vue'.ts(2307)

Most helpful comment

All 3 comments

Hope vuejs/vue-next-webpack-preview#5 can help you.

Hello, Has Vue3 Doc translation started? Is there any way to join? Thank you very much

Hope vuejs/vue-next-webpack-preview#5 can help you.

Thanks! That help solves...

Was this page helpful?
0 / 5 - 0 ratings