unplugin-vue-components icon indicating copy to clipboard operation
unplugin-vue-components copied to clipboard

module '~page' is not found when i run build script

Open kaiser-9527 opened this issue 3 years ago • 0 comments

It works on development mode. But when i run build script, got this:

error TS2307: Cannot find module '~pages' or its corresponding type declarations.

2 import routes from '~pages'
      

and, in vscode, has the same hint

kaiser-9527 avatar Jan 06 '22 16:01 kaiser-9527