Adrien 8d7a870510 | pirms 4 gadiem | |
---|---|---|
build | pirms 4 gadiem | |
config | pirms 4 gadiem | |
src | pirms 4 gadiem | |
static | pirms 4 gadiem | |
.babelrc | pirms 4 gadiem | |
.dockerignore | pirms 4 gadiem | |
.editorconfig | pirms 4 gadiem | |
.eslintignore | pirms 4 gadiem | |
.eslintrc.js | pirms 4 gadiem | |
.gitignore | pirms 4 gadiem | |
.nvmrc | pirms 4 gadiem | |
.postcssrc.js | pirms 4 gadiem | |
Dockerfile | pirms 4 gadiem | |
Dockerfile.production | pirms 4 gadiem | |
README.md | pirms 4 gadiem | |
docker-compose.yml | pirms 4 gadiem | |
index.html | pirms 4 gadiem | |
package.json | pirms 4 gadiem | |
yarn.lock | pirms 4 gadiem |
Timers ans other features for Heroes of the Storm
# install dependencies
yarn
# serve with hot reload at localhost:8080
yarn dev
# build for production with minification
yarn build
# build for production and view the bundle analyzer report
yarn build --report
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
docker-compose up
will build an image with all dependencies, then bind the root directory to the container
docker build . -f Dockerfile.production
will create an image with all project minified, optimized and served via nginx