build project and naive-ui are not in source code
Eacolt opened this issue · 0 comments
Eacolt commented
Describe the bug
when use "npm run build" , the vite-ssg runing..., but I found the naiveUI are not in web source code
通过vite-ssg build命令输出dist目录,我发现打包后的html中,检查源代码,naiveUI都没包含在源码里,所有的UI元素都不在源码里,这是为什么呢?我需要SEO看到这些naive-ui元素,该怎么办呢?
Reproduction
Reproducible
System Info
System:
OS: macOS 12.4
CPU: (10) arm64 Apple M1 Pro
Memory: 120.89 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.20.0 - /usr/local/bin/node
npm: 8.19.4 - /usr/local/bin/npm
pnpm: 8.6.5 - ~/Documents/peter/worldview/node_modules/.bin/pnpm
Browsers:
Chrome: 114.0.5735.198
Safari: 15.5
Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.