Skip to content

themanaworld/themanaworld-website

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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;

Netlify

  1. Set up a new project
    • Build command: yarn deploy
    • Publish directory: dist

Render

  1. Set up a new Web Service
    • Environment: Static Site
    • Build command: yarn deploy
    • Publish directory: dist