gameon
v0.0.14
Published
Game ON is a minimal framework that wraps Vite, providing a batteries-included setup for React, TypeScript, and Tailwind CSS. It exposes a simple CLI with `dev` and `build` commands, and uses `cosmiconfig` to load your `gameon.config.*` file.
Readme
gameon
Game ON is a minimal framework that wraps Vite, providing a batteries-included setup for React, TypeScript, and Tailwind CSS. It exposes a simple CLI with dev and build commands, and uses cosmiconfig to load your gameon.config.* file.
Usage
- Use
pnpm gameon devto start the dev server (with custom Game ON branding) - Use
pnpm gameon buildto build for production - Extend Vite by adding a
viteentry in yourgameon.config.ts(or .js/.json/etc)
Builds are now handled by Rollup. The build process is configured via rollup.config.ts.
Example gameon.config.ts:
export default {
vite: {
// Any Vite config here
server: { port: 4000 },
plugins: [],
},
// You can add your own custom config entries here
};React, TypeScript, and Tailwind CSS are included by default. You do not need to install or configure them yourself.
