You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 🔥 Hot-reloads types automatically when your GraphQL changes
24
23
- 🔐 Secure access token handling
25
-
- 🛒 Storefront and Admin API support
24
+
- 🛒 Storefront, Customer Account and Admin API support
26
25
- 🌐 Server & client side support
27
26
- 🛠️ Automatic mock.shop integration
28
27
- 🚩 Error handling optimized for Nuxt
@@ -40,11 +39,12 @@ hot-reloaded type generation from your GraphQL queries.
40
39
41
40
Upcoming features and developments for the 1.0.0 release:
42
41
43
-
- 👤 Customer Account API support
44
42
- 🔍 Shopify Analytics support
45
43
46
44
## 📦 Setup
47
45
46
+
> To get started immediately, you can use the [store template](https://github.com/nuxt-modules/shopify/tree/main/template) with a pre-configured Shopify store and module setup.
47
+
48
48
Run the following command to install the module in your project:
49
49
50
50
```bash
@@ -76,7 +76,8 @@ Add your Shopify configuration to the `nuxt.config.ts`:
> To find the configuration values for your store, check out the [setup guide](https://shopify.nuxtjs.org/essentials/setup-shopify).
103
+
104
+
## Usage
97
105
98
106
### Access Storefront API on the client side
99
107
100
108
There are multiple ways of communicating with the Shopify APIs.
101
109
The easiest way is with the `useStorefront` composable, directly inside of your vue component or page.
102
110
103
-
> To access the `useStorefront` composable on the client side, make sure you have added a public access token.
104
-
> You can add it in the module config: `clients > storefront > publicAccessToken`
111
+
> To access the `useStorefront` composable on the client side, make sure you have added a public access token. You can add it in the module config: `clients > storefront > publicAccessToken`
0 commit comments