m***@sina.com
m***@sina.com
  • 发布:2022-03-18 10:56
  • 更新:2022-03-18 10:56
  • 阅读:1201

uniapp官网demo 运行不起来 报错

分类:uni-app

通过命令行:npm run dev:h5 运行程序 报错如下:

33:17 warning 'v-html' directive can lead to XSS attack vue/no-v-html
105:15 warning 'v-html' directive can lead to XSS attack vue/no-v-html

✖ 2 problems (0 errors, 2 warnings)

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use / eslint-disable / to ignore all warnings in a file.
warning

asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
index.umd.js (1.18 MiB)

warning

entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
index.umd (1.27 MiB)
index.css
index.umd.js

warning

webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

File Size Gzipped

packages/uni-h5/dist/index.umd.js 1204.49 KiB 246.92 KiB
packages/uni-h5/dist/index.css 91.47 KiB 24.99 KiB

Images and other types of assets omitted.

2022-03-18 10:56 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复