Vue vconsole build reports an error when packaging: vconsole.min.d.ts

When vconsole is used in vue, an error is reported in vconsole.min.d.ts when building and packaging

Reference: issues vConsole

vconsole version 3.9.5

The error is as follows:

Import or export declaration in an ambient module declaration cannot reference module through relative module name

insert image description here
Switching the version of vconsole back to version 3.9.1 will be fine

1. Delete the previous package
2. Execute the following instructions to install

cnpm install [email protected]

Guess you like

Origin blog.csdn.net/weixin_41767649/article/details/121629832