This is a simple project that is meant to be a simple starting point for basic canvas websites. I am mostly using it for my own personal projects, but it may be useful to you if:
- You only intend to have one page (index.html)
- You like TypeScript
- You want something as simple as possible
- You want to get started quickly
Clone the repository:
# Using HTTPS
git clone --depth=1 https://github.com/devmattrick/canvas-starter.git <name>
# Or using SSH
git clone --depth=1 [email protected]:devmattrick/canvas-starter.git <name>
Install dependencies:
# Using Yarn
yarn
# Or using NPM
npm install
Run the development server:
# Using Yarn
yarn run dev
# Or using NPM
npm run dev
Build an optimized production bundle:
# Using Yarn
yarn run build
# Or using NPM
npm run build
Contributions are always welcome, however please try to keep the general scope of this project small (for example, don't include a canvas library like Phaser). This is meant to be a simple base to build off of and as such is library/ framework/ etc. agnostic.
The code in this repository is available under the terms of the MIT License. Please see LICENSE for more information.