Skip to content

Commit 4c3e3c2

Browse files
authored
Merge pull request #3 from sergejcodes/dev
cosmetics and readme update
2 parents e808d5c + 6c06422 commit 4c3e3c2

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.config/shopify/shopify.init.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ const initTheme = async () => {
6868
})
6969

7070
// write shopify config file
71-
try{
71+
try {
7272
await fs.outputFile(configPath, yamlConfig)
7373
} catch (e) {
7474
console.error(chalk.red(e))
7575
process.exit(1)
7676
}
7777

7878
// write settings_data.json to shopify/config
79-
try{
79+
try {
8080
const settingsData = {
8181
current: 'Default',
8282
presets: {
@@ -91,7 +91,7 @@ const initTheme = async () => {
9191
}
9292

9393
// upload shopify theme to remote
94-
try{
94+
try {
9595
await themeKit.command('deploy', {
9696
config: configPath,
9797
env: options.env

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The kit provides an easy way to build a custom Shopify theme from scratch. It co
1515
- Webpack
1616
- ESLint
1717
- Auto-Reload
18+
- Easily expandable
1819

1920
## System requirements
2021
- Node.js
@@ -60,6 +61,7 @@ $ yarn deploy:live
6061
| dev | bundle and watch for changes in `src/` files with webpack |
6162
| build | create dist files for Shopify in `shopify/assets/` directory with webpack |
6263
| reloadr | run a http server and websocket server for remote auto reloading |
64+
| lint | lint `js` and `vue` files inside the`src/` directory |
6365
| shopify:watch | watch for changes in the `shopify/` directory and upload to the dev store |
6466
| shopify:init | initializes theme on remote shopware store and creates a shopify config file for specified environment |
6567
| deploy:dev | upload the `shopify/` directory to the dev store |
@@ -68,4 +70,7 @@ $ yarn deploy:live
6870
| settings:live | download `settings_data.json` from live store |
6971
| open:dev | open the url of the dev store |
7072
| open:live | open the url of the live store |
71-
| lint | lint `js` and `vue` files inside the`src/` directory |
73+
74+
## Limitations
75+
- Vue components can only be used in `<kebab-case />`
76+
- `<style></style>` will be removed on mount inside vue components (basically everything inside #app), use `<component is="style"><componet>` instead

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "shopify-starterkit",
33
"description": "Environment for rapid Shopify theme development with Vue and Tailwind CSS",
44
"author": "Sergej Samsonenko",
5-
"version": "1.1.0",
5+
"version": "1.1.1",
66
"license": "MIT",
77
"repository": {
88
"type": "git",

0 commit comments

Comments
 (0)