| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Example of graphql-js-client usage build with Angular 5. https://www.youtube.com/watch?v=aggRpY_5t1o - how it works. This project was generated with Angular CLI version 1.1.2.
You will need the following things properly installed on your computer.
If you would like to connect your store to this example, open up /src/environments/environment.ts and /src/environments/environment.prod.ts, update the url and shopifyaccesstoken header:
url: 'https://your-shop-name.myshopify.com/api/graphql',
shopifyaccesstoken: 'your-storefront-access-token'Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
| Back | FazBrowse Home | New Git URL |