mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
30 lines
578 B
Markdown
30 lines
578 B
Markdown
|
# nuxt-with-apollo
|
||
|
|
||
|
> Nuxt.js with Apollo (GraphQL client)
|
||
|
|
||
|
[DEMO](https://nuxt-apollo.now.sh/)
|
||
|
|
||
|
## About
|
||
|
|
||
|
This project uses [Apollo](http://www.apollodata.com/) as a GraphQL client and [Graphcool](https://www.graph.cool/) as a hosted GraphQL backend.
|
||
|
|
||
|
## Getting Started
|
||
|
|
||
|
Download this example [or clone the repo](https://github.com/nuxt/nuxt.js):
|
||
|
|
||
|
```bash
|
||
|
curl https://codeload.github.com/nuxt/nuxt.js/tar.gz/master | tar -xz --strip=2 nuxt.js-master/examples/with-apollo
|
||
|
cd with-apollo
|
||
|
```
|
||
|
|
||
|
Install and run:
|
||
|
|
||
|
```bash
|
||
|
npm install
|
||
|
npm run dev
|
||
|
|
||
|
# or with Yarn
|
||
|
yarn
|
||
|
yarn dev
|
||
|
```
|