Migrating
Version 3 to 4
- Remove
node_modules
.
rm -rf node_modules
1
Replace your
.config
directory with the new .configopen in new window directory.Replace your
.gitignore
file with the new .gitignoreopen in new window file.Inside
package.json
delete the config section.
...
- "config": {
- "reloader": {
- "serverPort": 5000,
- "webSocketPort": 5050,
- "delay": 2000,
- "indicator": true
- }
- },
...
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
- Inside
package.json
replace thescripts
anddevDependencies
sections with the new ones from package.jsonopen in new window.
"scripts": {
...
},
"devDependencies": {
...
}
1
2
3
4
5
6
7
2
3
4
5
6
7
Add .theme-check.ymlopen in new window to your
shopify
directory.Now you are ready to follow the Getting started guide to set up your tooling.
TIP
If you want to migrate your templates to the latest Online Store 2.0
features, then follow the official Shopify migration guideopen in new window