Skip to content

themanaworld/themanaworld-website

Repository files navigation

themanaworld-website

The website of The Mana World, built with Vue and Vue-Cli.

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference. The app can also be configured with environment variables. See Dotenv for further info.

Deployment

Nginx

  1. Build in production mode
  2. Add a nginx vhost pointing to the dist folder as root
  3. Rewrite all requests to index.html within a location block:
	index  index.html;
	try_files $uri $uri/ /index.html;
  1. Set up a new project
    • Build command: yarn deploy
    • Publish directory: dist
  1. Set up a new Web Service
    • Environment: Static Site
    • Build command: yarn deploy
    • Publish directory: dist