Skip to content

Commit 317047a

Browse files
committed
1 parent 8e6b16a commit 317047a

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

gridsome.server.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// Server API makes it possible to hook into various parts of Gridsome
22
// on server-side and add custom data to the GraphQL data layer.
3-
// Learn more: https://gridsome.org/docs/server-api
3+
// Learn more: https://gridsome.org/docs/server-api/
44

55
// Changes here require a server restart.
66
// To restart press CTRL + C in terminal and run `gridsome develop`
77

88
module.exports = function (api) {
9-
api.loadSource(({ addContentType }) => {
10-
// Use the Data Store API here: https://gridsome.org/docs/data-store-api
9+
api.loadSource(({ addCollection }) => {
10+
// Use the Data Store API here: https://gridsome.org/docs/data-store-api/
1111
})
1212

1313
api.createPages(({ createPage }) => {
14-
// Use the Pages API here: https://gridsome.org/docs/pages-api
14+
// Use the Pages API here: https://gridsome.org/docs/pages-api/
1515
})
1616
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"build": "gridsome build"
77
},
88
"dependencies": {
9-
"gridsome": "^0.6.0"
9+
"gridsome": "^0.7.0"
1010
}
1111
}

src/components/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Add components that will be imported to Pages and Layouts to this folder.
2-
Learn more about components here: https://gridsome.org/docs/components
2+
Learn more about components here: https://gridsome.org/docs/components/
33

4-
You can delete this file.
4+
You can delete this file.

src/layouts/Default.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<div class="layout">
33
<header class="header">
44
<strong>
5-
<g-link to="/">{{ $static.metaData.siteName }}</g-link>
5+
<g-link to="/">{{ $static.metadata.siteName }}</g-link>
66
</strong>
77
<nav class="nav">
88
<g-link class="nav__link" to="/">Home</g-link>
9-
<g-link class="nav__link" to="/about">About</g-link>
9+
<g-link class="nav__link" to="/about/">About</g-link>
1010
</nav>
1111
</header>
1212
<slot/>
@@ -15,7 +15,7 @@
1515

1616
<static-query>
1717
query {
18-
metaData {
18+
metadata {
1919
siteName
2020
}
2121
}

src/layouts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Layout components are used to wrap pages and templates. Layouts should contain components like headers, footers or sidebars that will be used across the site.
22

3-
Learn more about Layouts: https://gridsome.org/docs/layouts
3+
Learn more about Layouts: https://gridsome.org/docs/layouts/
44

5-
You can delete this file.
5+
You can delete this file.

src/pages/Index.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<template>
22
<Layout>
3-
3+
44
<!-- Learn how to use images here: https://gridsome.org/docs/images -->
55
<g-image alt="Example image" src="~/favicon.png" width="135" />
6-
6+
77
<h1>Hello, world!</h1>
8-
8+
99
<p>
1010
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Pariatur excepturi labore tempore expedita, et iste tenetur suscipit explicabo! Dolores, aperiam non officia eos quod asperiores
1111
</p>
1212

1313
<p class="home-links">
14-
<a href="https://gridsome.org/docs" target="_blank" rel="noopener">Gridsome Docs</a>
14+
<a href="https://gridsome.org/docs/" target="_blank" rel="noopener">Gridsome Docs</a>
1515
<a href="https://github.com/gridsome/gridsome" target="_blank" rel="noopener">GitHub</a>
1616
</p>
1717

src/pages/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Pages are usually used for normal pages or for listing items from a GraphQL collection.
22
Add .vue files here to create pages. For example **About.vue** will be **site.com/about**.
3-
Learn more about pages: https://gridsome.org/docs/pages
3+
Learn more about pages: https://gridsome.org/docs/pages/
44

5-
You can delete this file.
5+
You can delete this file.

src/templates/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ Templates for **GraphQL collections** should be added here.
22
To create a template for a collection called `WordPressPost`
33
create a file named `WordPressPost.vue` in this folder.
44

5-
Learn more: https://gridsome.org/docs/templates
5+
Learn more: https://gridsome.org/docs/templates/
66

7-
You can delete this file.
7+
You can delete this file.

0 commit comments

Comments
 (0)