Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build project and naive-ui are not in source code #357

Open
5 tasks done
Eacolt opened this issue Jun 29, 2023 · 0 comments
Open
5 tasks done

build project and naive-ui are not in source code #357

Eacolt opened this issue Jun 29, 2023 · 0 comments

Comments

@Eacolt
Copy link

Eacolt commented Jun 29, 2023

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant