0.0.5-gamma.5 • Published 2 years ago

@review3/facade v0.0.5-gamma.5

Weekly downloads
-
License
Proprietary
Repository
-
Last release
2 years ago

Review3 Facade gamma

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Compiles and minifies for staging

npm run staging
# project_folder/.env.staging
NODE_ENV=production # This does not need to be changed, let it be production
OUTPUT_DIR=staging # Output folder name
FACADE_PAGE_TITLE="Huawei Mate X2 Light Blue"
FACADE_PLAYER_PATCH=https://facade.player.host # Root path where the vitrine is located
FACADE_CONTENT_PATCH=https://facade.content.host/products # Root path where the vitrine is located
FACADE_ROOT_URL=Huawei__Mate_X2_Light_Blue # Model content root dir 
FACADE_MODEL_NAME=16308
FACADE_MODEL_EXTENSION=glb
FACADE_MODEL_PREVIEW=preloader_preview_test.png
FACADE_MODEL_URL_PATTERN={model_name}.{extension}
FACADE_META_URL=meta.ru.fcd.json
FACADE_ENVMAPS_DIR=envmap
FACADE_CONFIG_URL=config.fcd.json

Compile and minify for production as a lib

build-lib

Compile and minify for production as a web components

build-wc

Run your unit tests

npm run test:unit

Run your end-to-end tests

npm run test:e2e

Lints and fixes files

npm run lint

Related Documentation

Конфигурация стиля

Сборка и запуск

Кофигурация сцены

Компоненты

Шейдеры