v2 和 v3 的 dist/index.html 都显示为 vue3.0版本? #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
File Viewer在线预览器vue3.0版本
打开 v2/dist/index.html,
发现
title 是 File Viewer在线预览器vue3.0版本 ?
v2 和 main(v3)飞鱼(● ̄(エ) ̄●兄,你是不是搞混啦?
方式二: 使用仓库依赖集成
安装依赖时,
yarn add @flyfish-group/file-viewer
yarn add v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
error marked@11.2.0: The engine "node" is incompatible with this module. Expected version ">= 18". Got "16.20.2"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
node
版本 不想升级,
怎么兼容?
File Viewer在线预览器vue3.0版本to v2 和 v3 的 dist/index.html 都显示为 vue3.0版本?可以单独指定marked依赖的版本,自己重新编译下就行。这是用来预览markdown的,如果你不需要的话,去掉也无妨。
感谢指出,是我“大意了,没有闪”
vue2.X下会报错Module not found: Error: Can't resolve './locale' in 'C:\gitCode\ipm\web-ui\node_modules@flyfish-group\file-viewer\dist\components' 什么情况