/tic-tac-toe

An implementation of tic tac toe to learn vue.js

Primary LanguageJavaScript

tic-tac-toe

An implementation of tic tac toe to learn vue.js. Find the project here

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

Code Formatting

# check linting
yarn lint

# fix linting
$ yarn lint --fix

Tests

# run tests
$ yarn test

For detailed explanation on how things work, check out Nuxt.js docs.

Deployment

# generate files and deploy to the gh-pages branch
# project is published here https://kjmj.github.io/tic-tac-toe/
$ yarn generate:gh-pages
$ yarn deploy