Skip to content

landofcoder/pwa-studio-yume-theme-magento2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Yume UI theme for PWA-Studio

Installation Environment

For Linux System

Required install node ~12.x

sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs

Required install yarn 1.2x.x

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

For Window System

Required Node 12.x download

Node 12.x download

Required Yarn 1.2x.x download

Yarn 1.2x.x download

For MacOS System

Required Node 12.x download

Node 12.x download

Required Yarn 1.2x.x download

Installed homebrew first
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)

after that

brew install yarn

Check Environment

Check node version

node -v 

Check yarn version

yarn -v 

Install Yume UI project

Step 1:

  • Download source PWA Studio Project

PWA studio 8.0 link

Step 2:

  • Copy and replace all Yume theme project to PWA studio project one by one

be careful with copy and replace (yume-scripts.js, extensions folder)

in the root of both

/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

Run Yume theme

  • Go to PWA-studio root directory
node yume-scripts

Run with success go to

Local develop : localhost:10000

Updating ...

Bundle theme for production

  • go to PWA-studio root directory
yarn workspace @landofcoder/yume-ui run build

afther that run

yarn workspace @landofcoder/yume-ui run server

Add custom plugin to yume theme

  • 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

Contributing

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.

PWA studio

PWA studio

About

magento 2 PWA studio YUME theme by landofcoder

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages