Skip to content

Commit 8a19c39

Browse files
author
ntepluhina
committed
feat: created basic navigation
1 parent ea9b9b5 commit 8a19c39

File tree

5 files changed

+65
-1
lines changed

5 files changed

+65
-1
lines changed

docs/.vuepress/config.js

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
module.exports = {
2+
title: 'Vue.js',
3+
description: 'Vue.js - The Progressive JavaScript Framework',
4+
themeConfig: {
5+
nav: [
6+
{
7+
text: 'Docs',
8+
ariaLabel: 'Documentation Menu',
9+
items: [
10+
{ text: 'Guide', link: '/guide/introduction' },
11+
{ text: 'Styleguide', link: '/styleguide/' },
12+
{ text: 'Core Libraries', link: '/core-libraries/' }
13+
]
14+
},
15+
{ text: 'API Reference', link: '/api/' },
16+
{ text: 'Examples',
17+
ariaLabel: 'Examples Menu',
18+
items: [
19+
{ text: 'Examples', link: '/examples/' },
20+
{ text: 'Cookbook', link: '/cookbook/' },
21+
]
22+
},
23+
{ text: 'Community', link: '/community/' }
24+
],
25+
sidebarDepth: 3,
26+
sidebar: {
27+
'/guide/': [
28+
'installation',
29+
'introduction'
30+
]
31+
},
32+
},
33+
plugins: {
34+
'@vuepress/pwa': {
35+
serviceWorker: true,
36+
updatePopup: {
37+
'/': {
38+
message: "New content is available.",
39+
buttonText: "Refresh"
40+
},
41+
},
42+
},
43+
},
44+
}

docs/.vuepress/public/logo.png

3.37 KB
Loading

docs/README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
# Hello docs!
1+
---
2+
home: true
3+
heroImage: /logo.png
4+
heroText: Vue.js
5+
tagline: The Progressive JavaScript Framework
6+
actionText: Get Started →
7+
actionLink: /docs/
8+
features:
9+
- title: Approachable
10+
details: Already know HTML, CSS and JavaScript? Read the guide and start building things in no time!
11+
- title: Versatile
12+
details: An incrementally adoptable ecosystem that scales between a library and a full-featured framework.
13+
- title: Performant
14+
details: |
15+
20KB min+gzip Runtime.
16+
Blazing Fast Virtual DOM.
17+
Minimal Optimization Efforts
18+
footer: Released under the MIT License | Copyright © 2014-2019 Evan You
19+
---

docs/guide/installation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Installation

docs/guide/introduction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Introduction

0 commit comments

Comments
 (0)