hello
10 |
8 |
9 | ## Features
10 |
11 | - 4 x 100% Highest Scores on Google Lighthouse!
12 | - Full SSR (Server Side Redenring) Static Site
13 | - Progressive Web App (PWA) with "Add to Home Screen" button.
14 | - Connected to Shopify backend
15 | - Home Page showing Featured Products
16 | - Product Search
17 | - Product Page
18 | - Collection Search
19 | - All Collections Page
20 | - TailwindCSS with PurgeCSS to remove unused css.
21 | - SEO optimized
22 | - Sitemap
23 |
24 | ## Shopify Setup
25 |
26 | You will need to create a private app in Shopify, and give it access to the Storefront API - the default permissions should be fine for this starter.
27 | Make sure to note the Storefront API key, and your store name.
28 |
29 | ## Installation
30 |
31 | Install the Gridsome CLI.
32 |
33 | ```bash
34 | npm install -g @gridsome/cli # or
35 | yarn global add @gridsome/cli
36 | ```
37 |
38 | ## Create Project
39 |
40 | You can either directly download this repository, or use Gridsome's CLI to download and install dependencies for you.
41 |
42 | ```bash
43 | # Clone repository
44 | git clone https://github.com/jsappme/gridsome-shopify-starter.git
45 | npm install # or
46 | yarn install
47 |
48 | # Download with CLI
49 | gridsome create my-gridsome-site jsappme/gridsome-shopify-starter
50 | ```
51 |
52 | ## Developing
53 |
54 | You will need to add your Storefront API shop name (https://\| 9 | | Product | 10 |Quantity | 11 |Total | 12 |13 | |
|---|---|---|---|---|
|
20 | |
24 | 25 | {{ item.productTitle }} 26 | {{ item.variantTitle !== 'Default Title' ? `- ${item.variantTitle}` : '' }} 27 | | 28 |{{ item.qty }} | 29 |{{ totalPrice(item) }} | 30 |31 | 37 | | 38 |
| 43 | | 44 | | 45 | | 46 | |
47 | Cart Total: {{ cartTotal }} 48 | |
49 |
To checkout, add some items to cart.
79 |