From: Leo <3853621+leoelz@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:52:04 +0000 (-0300) Subject: docs: fix index.md to avoid horizontal scrolling in code (#2129) X-Git-Tag: v4.3.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e1ad5d51ae221af8e0bd95d5787fa46e1fff546;p=thirdparty%2Fvuejs%2Frouter.git docs: fix index.md to avoid horizontal scrolling in code (#2129) * Fix: index.md - split comment to avoid horizontal scrolling * docs: fix index.md to avoid horizontal scrolling --- diff --git a/packages/docs/guide/index.md b/packages/docs/guide/index.md index 2d826e71..3ba003da 100644 --- a/packages/docs/guide/index.md +++ b/packages/docs/guide/index.md @@ -17,7 +17,8 @@ Creating a Single-page Application with Vue + Vue Router feels natural: with Vue

- + + Go to Home Go to About

@@ -57,7 +58,8 @@ const routes = [ // You can pass in additional options here, but let's // keep it simple for now. const router = VueRouter.createRouter({ - // 4. Provide the history implementation to use. We are using the hash history for simplicity here. + // 4. Provide the history implementation to use. We + // are using the hash history for simplicity here. history: VueRouter.createWebHashHistory(), routes, // short for `routes: routes` })