This project was generated with Angular CLI version 12.0.0.
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
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
welcome contributions.