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
|[Shopify Settings Control](https://github.com/uicrooks/shopify-settings-control)| <imgsrc="https://img.shields.io/github/package-json/v/uicrooks/shopify-settings-control?color=%236e78ff"> | Automatic Git version control for Shopify `settings_data.json`|
82
-
| [Shopify Foundation Theme](https://github.com/uicrooks/shopify-foundation-theme) | <imgsrc="https://img.shields.io/github/package-json/v/uicrooks/shopify-foundation-theme?color=%236e78ff"> | A modern Shopify starter theme built with Vue and Tailwind CSS
83
+
|[Shopify Foundation Theme](https://github.com/uicrooks/shopify-foundation-theme)| <imgsrc="https://img.shields.io/github/package-json/v/uicrooks/shopify-foundation-theme?color=%236e78ff"> | A modern Shopify starter theme built with Vue and Tailwind CSS|
83
84
<!-- ecosystem (end) -->
84
85
85
86
<!-- features (start) -->
@@ -111,8 +112,8 @@ Shopify Theme Lab is a customizable modular development environment for blazing-
-[PurgeCSS](https://tailwindcss.com/docs/optimizing-for-production#removing-unused-css) integrated in Tailwind CSS
114
-
- Shopify remote theme auto-reloading with [shopify-reloadr](https://github.com/uicrooks/shopify-reloadr)
115
-
- Auto-loading of Vue `components`, `mixins`, `directives`and `filters` as well as Vuex `modules` with [require.context](https://webpack.js.org/guides/dependency-management/#requirecontext)
115
+
- Shopify remote theme auto-reloading with [shopify-theme-lab-reloader](https://github.com/uicrooks/shopify-theme-lab-plugins/tree/master/packages/reloader)
116
+
- Auto-loading of Vue `components`, `mixins`and `directives` as well as Vuex `modules` with [require.context](https://webpack.js.org/guides/dependency-management/#requirecontext)
116
117
- Clean [config structure](.config/)
117
118
- Easily adjustable/extendable configurations
118
119
<!-- features (end) -->
@@ -503,10 +504,10 @@ shopify-theme-lab/ 📁 root of your Shopify Theme Lab project
503
504
504
505
| Task | Description |
505
506
| - | - |
506
-
| start | run `dev`, `reloadr` and `shopify:watch` tasks simultaneously in parallel |
507
+
| start | run `dev`, `reloader` and `shopify:watch` tasks simultaneously in parallel |
507
508
| dev | bundle and watch for changes in `src/` files with webpack |
508
509
| build | create minified production files for Shopify in `shopify/assets/` directory |
509
-
| reloadr | run an HTTP server and WebSocket server for remote auto-reloading |
510
+
| reloader | run an HTTP server and WebSocket server for remote auto-reloading |
510
511
| lint | run `lint:js` and `lint:css` tasks in sequence |
511
512
| lint:js | lint `.js` and `.vue` files inside the `src/` directory |
512
513
| lint:css | lint the `<style></style>` section of `.vue` files, `.css`, `.sass` and `.scss` files inside the `src/` directory |
@@ -536,12 +537,12 @@ By running `shopify:init` and entering credentials, the task initializes a new t
536
537
### Shopify + webpack
537
538
- All webpack configs are inside `.config/webpack/` directory
538
539
- [main.js](src/main.js) is webpack's main entry point
539
-
- All Vue related files are auto-loaded by webpack with [require.context](https://webpack.js.org/guides/dependency-management/#requirecontext) - Vue components, Vuex modules, as well as mixins, directives and filters with `global` in their filename. Everything is defined in `src/main.js`
540
+
- All Vue related files are auto-loaded by webpack with [require.context](https://webpack.js.org/guides/dependency-management/#requirecontext) - Vue components, Vuex modules, as well as mixinsand directives with `global` in their filename. Everything is defined in `src/main.js`
540
541
- Vue components can be either used as regular single-file-components or as [renderless components](https://css-tricks.com/building-renderless-vue-components) without `<template></template>` tags (You can use Liquid templating while hooking in Vue functionality).
541
542
- The webpack bundle and all other assets are outputted to `shopify/assets/` directory. This directory is cleaned on every build. If you want to keep certain files add `static` to their filenames: `myfile.static.png`
542
543
543
544
### Shopify remote auto-reloading
544
-
While `npm run start` task is running: The `shopify/` directory is being watched for changes and all changed files are uploaded to the Shopify remote server. After the upload is finished, a request is sent to a `localhost:port` address (specified in `package.json`) and the [shopify-reloadr](https://github.com/uicrooks/shopify-reloadr) package reloads all connected Shopify store sites. *Open the web console to check if a site is connected.*
545
+
While `npm run start` task is running: The `shopify/` directory is being watched for changes and all changed files are uploaded to the Shopify remote server. After the upload is finished, a request is sent to a `localhost:port` address (specified in `package.json`) and the [shopify-theme-lab-reloader](https://github.com/uicrooks/shopify-theme-lab-plugins/tree/master/packages/reloader) package reloads all connected Shopify store sites. *Open the web console to check if a site is connected.*
0 commit comments