- Create an empty directory
- Create a CRA within that
- Copy in hv-taplist.json
- Add Chakra: https://chakra-ui.com/docs/getting-started
- Replace the App.js code
- yarn add @scandipwa/scandipwa-scripts
- Change build and start to scandipwa-scripts
- Add to
package.json
"scandipwa": {
"type": "theme",
"extensions": {
}
},
- Create a new folder called
extension
- yarn init
- Turn the parent directory into a monorepo
- link extension to the CRA app
- Add
"extension": true
to the "scandipwa" section in the package.json - Create a src/plugins directory with an
extension.plugin.js
file withexport default {}
- Add namespaces to the CRA app
/** @namespace growlers/Header */
- Create a Dockerfile
- Add run.sh
- Chmod 755 run.sh
- Run
docker:build
in the root directory - Run '../run.sh' in
extension
- Copy
extension
tobigfoot
and make changes - Run '../run.sh' in
bigfoot