Skip to content

grddavies/xo-solid

Repository files navigation

xo-solid

Overview

xo-solid is a tic-tac-toe (Noughts & Crosses) web game built using SolidJS based on the React tutorial.

Dev

Dependencies are maintained via pnpm.

This is the reason you see a pnpm-lock.yaml. That being said, any package manager will work. This file can be safely be removed once you clone a template.

pnpm install # or npm install or yarn install

Available Scripts

In the project directory, you can run:

pnpm run dev or pnpm run start

Runs the app in the development mode.

Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

pnpm run build

Builds the app for production to the dist folder using Vite.

It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your app is ready to be deployed!

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)