Skip to content

Commit 02572cc

Browse files
committed
chore: playground improvements
1 parent 870fa8f commit 02572cc

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

packages/experiments-playground/src/App.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,12 @@ const queryPage = computed({
7777

7878
<RouterView />
7979
</template>
80+
81+
<style>
82+
.router-link-active {
83+
color: darkorange;
84+
}
85+
.router-link-exact-active {
86+
color: crimson;
87+
}
88+
</style>

packages/experiments-playground/src/router/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@ const r_group = normalizeRouteRecord({
5252
},
5353

5454
query: [
55-
new MatcherPatternQueryParam('group', 'isGroup', 'value', PARAM_PARSER_INT),
55+
new MatcherPatternQueryParam(
56+
'group',
57+
'isGroup',
58+
'value',
59+
PARAM_PARSER_INT,
60+
0
61+
),
5662
],
5763
})
5864

0 commit comments

Comments
 (0)