Migrating

Version 3 to 4

  1. Remove node_modules.
rm -rf node_modules
1
  1. Replace your .config directory with the new .configopen in new window directory.

  2. Replace your .gitignore file with the new .gitignoreopen in new window file.

  3. 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
  1. Inside package.json replace the scripts and devDependencies sections with the new ones from package.jsonopen in new window.
"scripts": {
  ...
},

"devDependencies": {
  ...
}
1
2
3
4
5
6
7
  1. Add .theme-check.ymlopen in new window to your shopify directory.

  2. 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