mirror of
https://github.com/lainbo/component-party.git
synced 2026-04-05 13:09:03 +08:00
fix(app): fix hash links
This commit is contained in:
@@ -42,3 +42,15 @@ describe("pages", () => {
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
// describe("sidenav links", () => {
|
||||
// it("clicking sidenav links", () => {
|
||||
// cy.visit("/?f=react");
|
||||
// cy.get("main a[href='#reactivity']").click();
|
||||
// cy.get("[data-framework-id-selected-list]").should(
|
||||
// "have.attr",
|
||||
// "data-framework-id-selected-list",
|
||||
// "react"
|
||||
// );
|
||||
// });
|
||||
// })
|
||||
|
||||
12
package.json
12
package.json
@@ -25,7 +25,7 @@
|
||||
"@veljs/svelte": "^0.1.11",
|
||||
"classnames": "^2.5.1",
|
||||
"heroiconsvelte": "^1.0.2",
|
||||
"radix3": "^1.1.0"
|
||||
"radix3": "^1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-eslint/eslint-plugin": "^17.2.1",
|
||||
@@ -42,15 +42,15 @@
|
||||
"@shikijs/markdown-it": "^1.1.7",
|
||||
"@sveltejs/vite-plugin-svelte": "^3.0.2",
|
||||
"@tailwindcss/typography": "^0.5.10",
|
||||
"@typescript-eslint/eslint-plugin": "^7.1.1",
|
||||
"@typescript-eslint/parser": "^7.1.1",
|
||||
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
||||
"@typescript-eslint/parser": "^7.2.0",
|
||||
"aurelia": "2.0.0-beta.12",
|
||||
"aurelia-framework": "^1.4.1",
|
||||
"autoprefixer": "^10.4.18",
|
||||
"chokidar": "^3.6.0",
|
||||
"codesandbox": "^2.2.3",
|
||||
"ember-eslint-parser": "^0.3.8",
|
||||
"cypress": "^13.6.6",
|
||||
"ember-eslint-parser": "^0.3.8",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-ember": "^12.0.2",
|
||||
"eslint-plugin-lit": "^1.11.0",
|
||||
@@ -59,7 +59,7 @@
|
||||
"eslint-plugin-react": "^7.34.0",
|
||||
"eslint-plugin-solid": "^0.13.1",
|
||||
"eslint-plugin-svelte": "^2.35.1",
|
||||
"eslint-plugin-vue": "^9.22.0",
|
||||
"eslint-plugin-vue": "^9.23.0",
|
||||
"esm": "^3.2.25",
|
||||
"eta": "^3.2.0",
|
||||
"folder-hash": "^4.0.4",
|
||||
@@ -84,7 +84,7 @@
|
||||
"tailwindcss": "^3.4.1",
|
||||
"tslib": "^2.6.2",
|
||||
"typescript": "^5.4.2",
|
||||
"vite": "^5.1.5",
|
||||
"vite": "^5.1.6",
|
||||
"vite-plugin-html": "^3.2.2",
|
||||
"vue": "^3.4.21"
|
||||
},
|
||||
|
||||
1020
pnpm-lock.yaml
generated
1020
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -81,6 +81,9 @@
|
||||
onDestroy(unsubscribeCurrentRoute);
|
||||
|
||||
function handleInitialFrameworkIdsSelectedFromStorage({ useDefaults }) {
|
||||
if (frameworkIdsSelectedInitialized) {
|
||||
return;
|
||||
}
|
||||
let frameworkIdsSelectedOnInit = [];
|
||||
|
||||
const url = new URL(window.location.href);
|
||||
|
||||
Reference in New Issue
Block a user