mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-18 03:35:17 +00:00
18 lines
333 B
Vue
18 lines
333 B
Vue
|
<template>
|
||
|
<div class="page">
|
||
|
<h1>Home</h1>
|
||
|
<no-ssr placeholder="Loading...">
|
||
|
<h2>This part is rendered on the client-side only</h2>
|
||
|
</no-ssr>
|
||
|
<no-ssr>
|
||
|
<p><code>placeholder</code> prop is optional</p>
|
||
|
</no-ssr>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<style scoped>
|
||
|
.no-ssr-placeholder {
|
||
|
color: #41b883;
|
||
|
}
|
||
|
</style>
|