sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)
after that
brew install yarn
Check node version
node -v
Check yarn version
yarn -v
Step 1:
- Download source PWA Studio Project
Step 2:
- Copy and replace all Yume theme project to PWA studio project one by one
/pwa-studio
/pwa-studio-yume-theme-magento2
run copy command
cp -r pwa-studio-yume-theme-magento2/ pwa-studio/
and
cp -r pwa-studio-yume-theme-magento2/packages/extensions/* pwa-studio/packages/extensions/
Step 3:
- Go to PWA-studio root directory
yarn install
- Go to PWA-studio root directory
node yume-scripts
Run with success go to
Local develop : localhost:10000
GraphQL link : localhost:10000/graphiql
- go to PWA-studio root directory
yarn workspace @landofcoder/yume-ui run build
afther that run
yarn workspace @landofcoder/yume-ui run server
- go to yume-ui folder (packages/extensions/yume-ui) in PWA-sudio directory
yarn add 'plugin-name' -D
- update packages for theme again
yarn install
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.