Skip to content

layris3/Tic-Tac-Toe

Repository files navigation

TicTacToe

This project was generated with Angular CLI version 12.0.0.

How to run

clone the repository to you local git clone git@github.com:SamL1n/Tic-Tac-Toe.git

npm install to install the dependency

ng serve -o use the ng server to run this project and open the explorer

run with pwa

service worker can not work in the ng server.

Instead of ng serve -o,we can use the http server to run this project so the service worker works.

run npm install --global http-server to install the http server.

run ng build to build the project.

run http-server -p 8888 dist/Tic-Tac-Toe.

open your explorer and located to http://localhost:8080

Contribution

welcome contributions.