community: add a missing step in gridsome sample app (#3809)

This commit is contained in:
Aditya Sharma
2020-03-26 15:12:03 +05:30
committed by GitHub
parent e0084f8f41
commit 877000b819

View File

@@ -42,10 +42,22 @@ columns: `id`, `title`, `content`, `author_id` (foreign key to `author` table's
`npm install --global @gridsome/cli`
- Create a Gridsome project
`gridsome create my-gridsome-site`
- Go to your project directory
`cd my-gridsome-site`
- Install node modules:
```bash
yarn install
```
or npm
```bash
npm install
```
- Configure Gridsome to use `source-graphql` plugin and a connection GraphQL url to stitch the schema. Open the file `gridsome.config.js` and modify the plugin section to configure the GraphQL Endpoint.