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
Copy file name to clipboardExpand all lines: README.md
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
Brought to you and maintained by [Trellis Commerce](https://trellis.co/) - A full-service eCommerce agency based in Boston, MA
2
2
3
-
Lastest merged code from [Dawn v12.0.0](https://github.com/Shopify/dawn/releases/tag/v12.0.0)
3
+
Latest merged code from [Dawn v12.0.0](https://github.com/Shopify/dawn/releases/tag/v12.0.0)
4
4
5
5
# Dawn + TailWindCSS + Prettier Shopify Starter Theme
6
6
@@ -15,44 +15,44 @@ The starter theme includes an integration of:
15
15
## [Trellis' Prettier config](https://www.npmjs.com/package/@trelliscommerce/prettier-config) with Husky pre-commit hooks
16
16
17
17
- Formats JS & CSS whenever a git commit is made
18
-
-Setup your own VSCode to apply Prettier formatting when a file is saved (optional)
18
+
-Set up your own VSCode to apply Prettier formatting when a file is saved (optional)
19
19
20
20
## Other Noted Modifications
21
21
22
-
- Set the default page width to 1440px and tweaked the desktop page width range to be 1200px to 1600px with a step adjustment of 10px (standard desktop width used at Trellis and allows for more finetuning)
22
+
- Set the default page width to 1440px and tweaked the desktop page width range to be 1200px to 1600px with a step adjustment of 10px (standard desktop width used at Trellis and allows for more fine tuning)
23
23
24
24
## Steps to Start Using this Starter Theme
25
25
26
26
1. Fork this repository & enable actions in the repo's Actions tab.
27
27
28
28
|:bangbang:| When forking this repo, make sure to change the settings in the forked repo under Settings > Actions > General > Workflow permissions to be `Read and write permissions` and check `Allow GitHub Actions to create and approve pull requests` for the Theme Check & Lighthouse actions to run |
2. Clone the forked repo, navigate to the directory in your terminal, & run `npm install`.
32
32
33
33
3. In the theme section of your Shopify admin you can connect to a GitHub repository via “Add theme” button.
34
34
35
35
<imgwidth="500"alt="Add a theme and connect it to your github repo"src="https://user-images.githubusercontent.com/75811975/162517993-31a22954-6600-45f9-ab6e-2b9735c9efba.png">
36
36
37
-
4. In your terminal, navigate to the cloned repo directory, and use the Shopify CLI to login to your store with `shopify login --store=mystore.myshopify.com` and launch the development server with `shopify theme serve`.
37
+
4. In your terminal, navigate to the cloned repo directory, and use the Shopify CLI to launch the development server to your store with `shopify theme dev --store=mystore.myshopify.com` and upload the theme with `shopify theme share`.
38
38
39
39
|:bangbang:| If you are working on a development store and are signed in via your partner dashboard, you must add a separate user in that Shopify store with admin rights and sign in with this new user when logging in using the Shopify CLI |
<imgwidth="500"alt="Where to add users in the store settings"src="https://user-images.githubusercontent.com/75811975/162517914-6fe20ef6-7b58-4337-b488-75966694ef92.png">
45
45
46
-
## Add Github secrets for Lighthouse CI Performance Evaluation Actions
46
+
## Add GitHub secrets for Lighthouse CI Performance Evaluation Actions
47
47
48
48
|:bangbang:| This repo does not have the following secrets configured, which is why the Lighthouse action is failing. |
In your github repo, navigate to Settings > Secrets > Actions and add the following repository secrets:
55
+
In your GitHub repo, navigate to Settings > Secrets > Actions and add the following repository secrets:
56
56
57
57
`SHOP_APP_ID` & `SHOP_APP_PASSWORD`
58
58
@@ -86,7 +86,7 @@ In your github repo, navigate to Settings > Secrets > Actions and add the follow
86
86
87
87
- To enable GitHub status checks via the official GitHub app, [install and authorize the app](https://github.com/apps/lighthouse-ci) with the owner of the target repo. If the repo is within an organization, organization approval might be necessary. Copy the app token provided on the authorization confirmation page and add it to your build environment as `LHCI_GITHUB_APP_TOKEN`
88
88
89
-
These secret values are used in the `ci.yml`github workflow:
89
+
These secret values are used in the `ci.yml`GitHub workflow:
90
90
91
91
<imgwidth="500"alt="Secrets shown in the workflow file"src="https://user-images.githubusercontent.com/75811975/162518733-c1744910-85b2-44e3-91d0-08acfc018ba1.png">
92
92
@@ -109,11 +109,11 @@ These secret values are used in the `ci.yml` github workflow:
109
109
4. Anytime you add a TailwindCSS class (remember to prefix it with twcss-), run the CLI tool to scan your template files for classes and build your CSS to assets/app.css:
0 commit comments