No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
config
src
static
test
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.postcssrc.js
README.md
index.html
package.json

README.md

sylius-pwa

sylius pwa

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

Configuration

configuration for Sylius DemoShop Api

# src/config/index.js
export default {
    appName: 'Sylius PWA',
    imageUrl: 'http://demo.sylius.org/media/image/',
    apiUrl: 'http://demo.sylius.org/shop-api',
    apiChannel: 'US_WEB',
    apiLocale: 'en_GB'
}

if you want to test cutting edge features, checkout this repo and serve locally