Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtev committed Feb 26, 2019
0 parents commit f39e868
Show file tree
Hide file tree
Showing 25 changed files with 9,226 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.log
.cache
.DS_Store
src/.temp
node_modules
dist
.env
.env.*
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Default starter for Gridsome
`
### 1. Install Gridsome CLI tool if you don't have

`npm install --global @gridsome/cli`

### 2. Create a Gridsome project

1. `gridsome create my-gridsome-site` to install default starter </li>
2. `cd my-gridsome-site` to open folder
3. `gridsome develop` to start local dev server at `http://localhost:8080`
4. Happy coding 🎉🙌
10 changes: 10 additions & 0 deletions gridsome.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is where project configuration and plugin options are located.
// Learn more: https://gridsome.org/docs/config

// Changes here requires a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`

module.exports = {
siteName: 'Gridsome Blog Starter',
plugins: []
}
12 changes: 12 additions & 0 deletions gridsome.server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Server API makes it possible to hook into various parts of Gridsome
// on server-side and add custom data to the GraphQL data layer.
// Learn more: https://gridsome.org/docs/server-api

// Changes here requires a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`

module.exports = function (api) {
api.loadSource(store => {
// Use the Data store API here: https://gridsome.org/docs/data-store-api
})
}
Loading

0 comments on commit f39e868

Please sign in to comment.