Create strater kit with a command
- Open terminal at template root folder
- Run
npm run set-root
, then choose your homepage
This will make your chosen shop page as root and delete other shop pages from
app
and section components frompage-sections
folder.
If you want to keep section components, use this command
npm run set-root -- --keep-components
Make sure package.json has
bazaar-tools
package installed and has following script
"scripts": {
...
"set-root": "bazaar set-root",
...
},
"devDependencies": {
...
"bazaar-tools": "^2.0.0",
...
}