Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build, missing index.html #191

Closed
vassilux opened this issue Aug 5, 2020 · 1 comment
Closed

build, missing index.html #191

vassilux opened this issue Aug 5, 2020 · 1 comment

Comments

@vassilux
Copy link

vassilux commented Aug 5, 2020

Hi,
I want to deploy into Apache web server, after execute npm run build ther is not index..html into dist directory

Any idea ?

@tirthbodawala
Copy link
Member

@vassilux if you want to deploy it as static site, I would ask you to build it as a static site, change the env option

APP_NAME="ReactPWA"
APP_DESCRIPTION="A highly scalable & plug-able, Progressive Web Application foundation with the best Developer Experience."

# PAWCONFIG
# App Settings - Migrated from PawConfig `pawconfig.json`
PORT=3003
HOST=0.0.0.0
APP_ROOT_URL="/"
CDN_URL=""
SSR_ENABLED=false
SERVICE_WORKER_ENABLED=true
SINGLE_PAGE_APPLICATION=true
USE_HASHED_ROUTES=false
ASYNC_CSS=false
POLYFILL_CDN=false
REACT_CDN=false
CLIENT_ROOT_ELEMENT_ID="app"
HSTS_ENABLED=true
HSTS_MAX_AGE=31536000
ASSETS_MAX_AGE=2592000000
HSTS_INCLUDE_SUBDOMAINS=false
HSTS_PRELOAD=false
DISABLE_JS=false
DISABLE_CACHE=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants