This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 940
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from tapitapeh/gitlocalize-446
components-no-ssr.md
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: 'API: ' | ||
description: Melewati render komponen pada server side (rendering), dan menampilkan | ||
"placeholder text". | ||
--- | ||
|
||
# Komponen <no-ssr> | ||
|
||
> Komponen ini digunakan untuk menghapus komponen dari subjek server side rendering. | ||
**Props**: | ||
|
||
- placeholder: `String` | ||
- Prop ini digunakan sebagai konten di dalam `div` dan ditampilkan sebagai text pada server side rendering. | ||
|
||
```html | ||
<template> | ||
<div> | ||
<ssrfrendly-component /> | ||
<no-ssr> | ||
<not-ssrfrendly /> | ||
</no-ssr> | ||
</div> | ||
</template> | ||
``` | ||
|
||
Komponen ini adalah klon dari [egoist/vue-no-ssr](https://github.com/egoist/vue-no-ssr). | ||
Terima kasih [@egoist](https://github.com/egoist)! |