Création d'un nouveau thème
MAJ Conf 2024
-
Install Shopify CLI for windows : https://shopify.dev/themes/tools/cli/installation (opens in a new tab)
-
Go to new local repo and "theme init" (PowerShell)
-
Go to github and create a new repo (same name as theme name)
-
Go to console and type :
git init git add . git commit -m "first commit" git remote add origin https://github.com/thbrillet/nom-du-theme.git git push -u origin main -
Go to shopify/partners → back office of the Shopify, then "add a theme" and "connect to github"
-
Go to console and type :
shopify login --store https://nom-du-theme.myshopify.com/admin shopify theme serve