@mcxbr/core
extends by pwa-studio
Last updated 16 days ago by wesleymcx .
UNLICENSED · Original npm · Tarball · package.json
$ cnpm install @mcxbr/core 
SYNC missed versions from official npm registry.

Core

Ambiente local

Para configurar o ambiente local de desenvolvimento do projeto execute o seguinte comando para criar um arquivo .env:

MAGENTO_BACKEND_URL="https://master-7rqtwti-rqkdugo32ooka.us-2.platformsh.site/" \
CHECKOUT_BRAINTREE_TOKEN="sandbox_rzknz7v7_dbw5pyvbpn4bwhw9" \
yarn buildpack create-env-file .

Inicie o storybook do projeto: yarn watch

Ambiente de produção

Crie o arquivo .env com as variáveis do ambiente produtivo:

MAGENTO_BACKEND_URL="https://master-7rqtwti-rqkdugo32ooka.us-2.platformsh.site/" \
CHECKOUT_BRAINTREE_TOKEN="sandbox_rzknz7v7_dbw5pyvbpn4bwhw9" \
STAGING_SERVER_HOST="https://storybook.master-7rqtwti-tblaipa3kgba6.us-2.platformsh.site/" \
STAGING_SERVER_PORT="$PORT" \
yarn buildpack create-env-file .

Faça a build do aplicativo e o inicie pelo node: yarn storybook:prod

Current Tags

  • 0.2.0                                ...           latest (16 days ago)

5 Versions

  • 0.2.0                                ...           16 days ago
  • 0.1.3                                ...           21 days ago
  • 0.1.2                                ...           21 days ago
  • 0.1.1                                ...           21 days ago
  • 0.1.0                                ...           21 days ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 51
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |