ember-apollo-client
๐ An ember-cli addon for Apollo Client and GraphQL
ํ์ผ ํ์๊ธฐ
์ต์ข ๋ฒ์ ๋ค์ด๋ก๋ (.zip)- ci.yml
- release-drafter.yml
- release-drafter.yml
- query-manager.js
- setup-hooks.js
- apollo.js
- inject.js
- .gitkeep
- index.js
- apollo.js
- .gitkeep
- index.js
- ember-try.js
- environment.js
- array-watch-query-test.js
- computed-with-watch-query-test.js
- mutations-test.js
- query-and-unsubscribe-test.js
- watch-query-test.js
- .gitkeep
- create-review.js
- movie-card.js
- movie-detail.js
- .gitkeep
- index.js
- movie.js
- review-fragment.graphql
- change-movie-title.graphql
- create-review.graphql
- movie.graphql
- movies.graphql
- .gitkeep
- mock-graphql.js
- .gitkeep
- index.js
- movie.js
- new-review.js
- app.css
- create-review.hbs
- movie-card.hbs
- movie-detail.hbs
- application.hbs
- index.hbs
- movie.hbs
- new-review.hbs
- graphql-type-query.js
- app.js
- index.html
- router.js
- schema.graphql
- ember-cli-update.json
- environment.js
- optional-features.json
- targets.js
- robots.txt
- index.js
- setup.js
- start-pretender.js
- .gitkeep
- query-manager-hooks-component-test.js
- query-manager-hooks-object-test.js
- query-manager-hooks-route-test.js
- query-manager-macro-decorator-test.js
- graphql-filter-test.js
- test-fragment-with-fragment.graphql
- test-fragment.graphql
- test-mutation.graphql
- test-query-with-nested-fragment.graphql
- test-query.graphql
- test-subscription.graphql
- apollo-test.js
- .gitkeep
- index.html
- test-helper.js
- .gitkeep
- .editorconfig
- .ember-cli
- .eslintignore
- .eslintrc.js
- .gitignore
- .gqlconfig
- .npmignore
- .prettierignore
- .prettierrc.js
- .template-lintrc.js
- .watchmanconfig
- CHANGELOG.md
- CONTRIBUTING.md
- ember-cli-build.js
- index.js
- LICENSE.md
- package.json
- README.md
- testem.js
- yarn.lock
# ์ค์น ๊ฐ์ด๋
1. ์ฝ๋ ๋ด๋ ค๋ฐ๊ธฐ
git clone https://github.com/ember-graphql/ember-apollo-client
๊นํ๋ธ์์ ํ๋ก์ ํธ ์ฝ๋ ์ ์ฒด๋ฅผ ๋ด ์ปดํจํฐ๋ก ๋ด๋ ค๋ฐ์ต๋๋ค.
cd ember-apollo-client
๋ฐฉ๊ธ ๋ด๋ ค๋ฐ์ ํ๋ก์ ํธ ํด๋ ์์ผ๋ก ์ด๋ํฉ๋๋ค.
2. Node.js
์ฌ์ ์ถ์ฒ์ฌ์ ์ค๋น๋ฌผ
yarn add -D @apollo/client
์ด ๋ช ๋ น์ด๋ฅผ ํฐ๋ฏธ๋์ ๊ทธ๋๋ก ์ ๋ ฅํด ์คํํ์ธ์.
yarn add -D @absinthe/socket
์ด ๋ช ๋ น์ด๋ฅผ ํฐ๋ฏธ๋์ ๊ทธ๋๋ก ์ ๋ ฅํด ์คํํ์ธ์.
yarn add -D @absinthe/socket-apollo-link
์ด ๋ช ๋ น์ด๋ฅผ ํฐ๋ฏธ๋์ ๊ทธ๋๋ก ์ ๋ ฅํด ์คํํ์ธ์.
๋ช
๋ น์ด ์คํ ํ ํฐ๋ฏธ๋์ ๋ํ๋๋ ์ฃผ์(๋ณดํต http://localhost:3000 ํํ)๋ฅผ ๋ธ๋ผ์ฐ์ ์์ ์ด์ด๋ณด์ธ์.
์ด ๋ ํฌ์ README์ ์ ํ ์ค์ ๋ช ๋ น์ด๋ฅผ ๊ทธ๋๋ก ๊ฐ์ ธ์์ต๋๋ค.
// repository documentation
Was this content helpful?
(0 ratings)
