Skip to content

Commit fbc4d80

Browse files
committed
Add readme files
1 parent a9b7ab5 commit fbc4d80

File tree

7 files changed

+26
-2
lines changed

7 files changed

+26
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Default starter for Gridsome
1+
# Default starter for Gridsome

src/components/README.md

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

src/layouts/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
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.
2+
3+
Learn more about Layouts: https://gridsome.org/docs/layouts
4+
5+
You can delete this file.

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
import DefaultLayout from '~/layouts/Default.vue'
55

66
export default function (Vue) {
7-
// Set default layout as a global component
7+
// Set default layout as a global component
88
Vue.component('Layout', DefaultLayout)
99
}

src/pages/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Pages are usually used for normal pages or for listing items from a GraphQL collection.
2+
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
4+
5+
You can delete this file.

src/templates/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Templates for **GraphQL collections** should be added here.
2+
To create a template for a collection called `WordPressPost`
3+
create a file named `WordPressPost.vue` in this folder.
4+
5+
Learn more: https://gridsome.org/docs/templates
6+
7+
You can delete this file.

static/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Add static files here. Files in this directory will be copied directly to `dist` folder during build. For example, /static/robots.txt will be located at https://yoursite.com/robots.txt.
2+
3+
This file should be deleted.

0 commit comments

Comments
 (0)