Documentation for Magento PWA Studio packages is located at https://pwastudio.io.
git clone https://github.com/magento/pwa-studio.git
cd pwa-studio
workspaces:
"workspaces": [
...
"packages/upward-spec",
#add DTheme package
"packages/dtheme"
],
scripts:
"scripts": {
...
"watch:venia": "yarn venia run watch",
"watch:dtheme": "yarn workspace @dreyar/dtheme run watch"
},
cd packages
git clone https://github.com/trongithust/PWA-Studio-DTheme.git dtheme
cd ..
yarn install
To run watch
yarn run watch:dtheme
To run production
NODE_ENV=production PORT=8080 yarn run stage:dtheme
yarn buildpack create-custom-origin packages/dtheme