vitepress icon indicating copy to clipboard operation
vitepress copied to clipboard

client js not working

Open productdevbook opened this issue 3 years ago • 5 comments

Describe the bug

image

http://localhost:4173/docs/ui/hdatetime/

pnpm dev working but build after serve dont working all buttons

Reproduction

https://github.com/huntersofbook/huntersofbook/tree/feat/i18n

branch: feat/i18n

  1. pnpm install
  2. pnpm build
  3. cd/apps/docs
  4. pnpm build
  5. pnpm serve

Expected behavior

click buttons

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz
    Memory: 19.96 GB / 31.12 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 16.17.0 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 8.15.0 - /usr/bin/npm
  Browsers:
    Chrome: 105.0.5195.102


open-source on  feat/i18n via  v16.17.0 took 2s

Additional context

No response

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the docs.
  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

productdevbook avatar Sep 05 '22 04:09 productdevbook

Could you please give more information? I just checked and the buttons look fine to me. What exactly you mean by "not working"? image

ananyadhananjaya avatar Sep 05 '22 18:09 ananyadhananjaya

It wasn't working for me very much, now it is working. Thanks for the feedback.

productdevbook avatar Sep 05 '22 19:09 productdevbook

https://opensource.huntersofbook.com/docs/ui/hdatetime/

interested now not working buttons :D

productdevbook avatar Sep 05 '22 19:09 productdevbook

Most likely the issue is with the custom i18n stuff you are doing not VitePress itself.

brc-dd avatar Sep 05 '22 20:09 brc-dd

Most likely the issue is with the custom i18n stuff you are doing not VitePress itself.

How do I find a bug, it's working on the dev. but dont working serve :(

productdevbook avatar Sep 06 '22 04:09 productdevbook