mirror of
https://github.com/zhigang1992/graphql-engine.git
synced 2026-04-29 04:24:59 +08:00
community: add a missing step in gridsome sample app (#3809)
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user