Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from tapitapeh/gitlocalize-448
Browse files Browse the repository at this point in the history
components-nuxt-link.md
  • Loading branch information
tapitapeh authored Jan 25, 2018
2 parents 1a4ce8d + f82c1d8 commit fbe8da8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions id/api/components-nuxt-link.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: 'API: '
description: Menghubungkan antar halaman menggunakan nuxt-link.
---

# Komponen <nuxt-link>

> Komponen ini digunakan sebagai penghubung antar halaman.
Saat ini, `<nuxt-link>` sama dengan [`<router-link>`](https://router.vuejs.org/en/api/router-link.html), jadi kami sarankan Anda untuk melihat bagaimana menggunakannya di [dokumentasi Vue Router](https://router.vuejs.org/en/api/router-link.html) .

Contoh (`pages/index.vue`):

```html
<template>
<div>
<h1>Home page</h1>
<nuxt-link to="/about">About</nuxt-link>
</div>
</template>
```

Ke depannya, kami akan menambahkan fitur pada komponen `<nuxt-link>`, yaitu mengambil terlebih dahulu (pre-fetching) melalui background untuk meningkatkan keresponsifan Aplikasi Nuxt.js.

0 comments on commit fbe8da8

Please sign in to comment.