-
Notifications
You must be signed in to change notification settings - Fork 2.4k
fix: check for vue router v4 #4203
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
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 3a7c060:
|
|
Build for latest commit 3a7c060 is at https://pr4203.build.csb.dev/s/new. |
|
I must have broken something because I can't get the script to execute: https://pr4203.build.csb.dev/s/bitter-sun-9x3d1?file=/index.html |
|
yeah, something didn't like the change It breaks the new sandbox too Interesting https://pr4203.build.csb.dev/s/new |
|
Maybe the PR build was broken, I can't think of any way how this could break all sandboxes. Could you try pushing another commit to force a rebuild? |
|
This looks good now! The last failed test is a flaky test that's fixed on master 😄 |
|
@CompuIves I made a typo 🤦 #4263 |
* Added p5js icon * Remove unnecessary fill property * fix: setting undefined in URL (#4244) * Remove pkg.json check (#4248) * Remove pkg.json check * Remove unused imports * Add support for dynamic webpack loaders (#4245) * Fix typo * Undo the requires change * Fix eslint (#4259) * Resolve ESModules by default (#4191) * Default to esmodules * New packager * Fix edge case with handling exports * Test #1 * Test #2 * Test #2 * New try * Patch resolve in babel * Fix plugin * Logging * Remove esmodule check * Change fallback * Put check back * Remove isEsModule check code * Put convert esmodule code back in * Optimize for speed * Set a better default config * Simplify boolean * Set default babel configs * Fix links * Don't allow the sidebar to render if currentSandbox is not available (#4261) * fix: check for vue router v4 (#4203) * Fix esm var changes (#4262) * Fix esm var changes * Fix object initiliazers * Add comment * fix: typo in method isInsideVue (#4263) * Fix transforming properties like toString * Add comments data * Use unique id * Fix typo in reference Co-authored-by: Ives van Hoorne <[email protected]> Co-authored-by: Yash Joshi <[email protected]> Co-authored-by: Ives van Hoorne <[email protected]> Co-authored-by: Eduardo San Martin Morote <[email protected]>
* Added p5js icon * Remove unnecessary fill property * fix: setting undefined in URL (#4244) * Remove pkg.json check (#4248) * Remove pkg.json check * Remove unused imports * Add support for dynamic webpack loaders (#4245) * Fix typo * Undo the requires change * Fix eslint (#4259) * Resolve ESModules by default (#4191) * Default to esmodules * New packager * Fix edge case with handling exports * Test #1 * Test #2 * Test #2 * New try * Patch resolve in babel * Fix plugin * Logging * Remove esmodule check * Change fallback * Put check back * Remove isEsModule check code * Put convert esmodule code back in * Optimize for speed * Set a better default config * Simplify boolean * Set default babel configs * Fix links * Don't allow the sidebar to render if currentSandbox is not available (#4261) * fix: check for vue router v4 (#4203) * Fix esm var changes (#4262) * Fix esm var changes * Fix object initiliazers * Add comment * fix: typo in method isInsideVue (#4263) * Fix transforming properties like toString * Add comments data * Use unique id * Fix typo in reference * Don't show comment indication if you don't have permission Co-authored-by: Danny Ruchtie <[email protected]> Co-authored-by: Yash Joshi <[email protected]> Co-authored-by: Eduardo San Martin Morote <[email protected]>
What kind of change does this PR introduce?
This should fix hash routing in vue router v4 (https://n2qq4.csb.app/#/)
What is the current behavior?
Clicking on any link changes the url but does not trigger the click event
What is the new behavior?
Triggers the click event on the anchors
What steps did you take to test this? This is required before we can merge, make sure to test the flow you've updated.
Checklist
There might be a better way to check if an element is inside of a Vue app, but I couldn't find anything better for Vue 3. Maybe @yyx990803 knows a better way