Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

ts lint error when run 'npm run build' #67

Open
jellykaiser opened this issue Dec 30, 2020 · 0 comments
Open

ts lint error when run 'npm run build' #67

jellykaiser opened this issue Dec 30, 2020 · 0 comments

Comments

@jellykaiser
Copy link

I just init my project: npm init vite-app myApp --template vue-ts. Then run npm run build.
But i got this error:

.\src\main.ts
=============
=> .\src\main.ts:2:17
Error :: Cannot find module './App.vue' or its corresponding type declarations. (code 2307)
  1 | import { createApp } from 'vue'
  2 | import App from './App.vue'
    |                 ^^^^^^^^^^^
  3 | import './index.css'
  4 |

It just a new project. How to fix this error?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant