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

Repo playground not working #2268

Closed
7 tasks done
Zehir opened this issue Sep 28, 2022 · 4 comments
Closed
7 tasks done

Repo playground not working #2268

Zehir opened this issue Sep 28, 2022 · 4 comments

Comments

@Zehir
Copy link
Contributor

Zehir commented Sep 28, 2022

Describe the bug

Hello, I tried to use the playground folder from the repo to try functions in a blank setup but for some reason reactivity don't seems to work.
It's look that the "reactivity tree" stop at the page render.
I also tried to install vitesse in a new folder, but I get the same result.
For example if I load the useMouse I get value 0,0 but if I type something in the input field the x,y values get updated.

I have no idea what is happening here

Reproduction

https://github.com/Zehir/vueuse/tree/dev

System Info

System:
    OS: Linux 5.4 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (4) x64 Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
    Memory: 4.31 GB / 7.77 GB
    Container: Yes
    Shell: 5.1.4 - /bin/bash
  Binaries:
    Node: 16.17.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.15.0 - /usr/local/bin/npm
  npmPackages:
    vue: ^3.2.39 => 3.2.39

Used Package Manager

pnpm

Validations

@Zehir
Copy link
Contributor Author

Zehir commented Sep 28, 2022

I copied the settings from
/vitest.config.ts
to
/playgrounds/vite/vite.config.ts
and now it's working fine.
I don't know what the option resolve.dedupe do but it's solve the issue.

Do we should make a PR to update the playground config ?

@Zehir
Copy link
Contributor Author

Zehir commented Sep 29, 2022

Well it's not working that good, I can use functions like useMouse but have no success with the firebase package. I tried many variation to import the package. Did anybody was able to make it work ?

@stale
Copy link

stale bot commented Nov 28, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 28, 2022
@stale stale bot closed this as completed Dec 5, 2022
@jiang-24-gdufs
Copy link

I just cloned the repository from github, and found that the example repo in the playgrounds can not start

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

2 participants