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