mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-24 09:28:41 +00:00
Merge branch 'main' of https://github.com/huang-julien/nuxt
This commit is contained in:
commit
4f4052abdf
4
test/fixtures/basic/pages/index.vue
vendored
4
test/fixtures/basic/pages/index.vue
vendored
@ -49,7 +49,9 @@
|
||||
<component :is="`with${'-'.toString()}suffix`" />
|
||||
<ClientWrapped ref="clientRef" style="color: red;" class="client-only" />
|
||||
<ServerOnlyComponent class="server-only" style="background-color: gray;" />
|
||||
<NuxtLink to="/big-page-1">to big 1</NuxtLink>
|
||||
<NuxtLink to="/big-page-1">
|
||||
to big 1
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -7,7 +7,11 @@ const route = useRoute('nested-foo-bar')
|
||||
<div>nested/[foo]/[bar].vue</div>
|
||||
<div>foo: {{ route.params.foo }}</div>
|
||||
<div>bar: {{ route.params.bar }}</div>
|
||||
<NuxtLink to="/nested/foo/user-test" id="user-test">to /nested/foo/user-test</NuxtLink>
|
||||
<NuxtLink to="/nested/foo/test" id="test">to /nested/foo/test</NuxtLink>
|
||||
<NuxtLink id="user-test" to="/nested/foo/user-test">
|
||||
to /nested/foo/user-test
|
||||
</NuxtLink>
|
||||
<NuxtLink id="test" to="/nested/foo/test">
|
||||
to /nested/foo/test
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -8,7 +8,11 @@ const route = useRoute('nested-foo-user-group')
|
||||
<div>foo: {{ route.params.foo }}</div>
|
||||
<div>group: {{ route.params.group }}</div>
|
||||
|
||||
<NuxtLink to="/nested/foo/user-test" id="user-test">to /nested/foo/user-test</NuxtLink>
|
||||
<NuxtLink to="/nested/foo/test" id="test">to /nested/foo/test</NuxtLink>
|
||||
<NuxtLink id="user-test" to="/nested/foo/user-test">
|
||||
to /nested/foo/user-test
|
||||
</NuxtLink>
|
||||
<NuxtLink id="test" to="/nested/foo/test">
|
||||
to /nested/foo/test
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user