For Windows Configure Git; git config --global core.autocrlf false
In the project directory, you can run:
Runs the app in development mode. Open http://localhost:5173 to view it in the browser.
Builds the app for production to the dist
folder.
Locally preview production build.
Lint using eslint
.
When running in dev mode using npm run dev
this will not need to be run manually, since vite-plugin-checker
will lint and typecheck on hot reload.
Typecheck using tsc
.
When running in dev mode using npm run dev
this will not need to be run manually, since vite-plugin-checker
will lint and typecheck on hot reload.
Run tests using vitest
.
Run tests with browser-based interactive UI.
index.html
: Main entry point. Seeindex.html
and Project Root for more info.test/
: Test files.public/
: Assets that will be served at root path/
. Cannot be imported from JavaScript. See Thepublic
Directory for more info.src/assets
: Assets to be imported from JavaScript. Importing these assets will return the resolved public URL when served. See Importing Asset as URL for more info.src/api
: Type definitions and functions for retrieving ECS data from the API.src/db
: IndexedDB schema definition and database access functions.src/components
: shared UI components such as buttons, icons, etc.src/main.tsx
: Main React entry point.src/
: Top-level components.
Format code on save using .prettierrc
config.
Autocomplete, syntax highlighting, and linting for Tailwind CSS classes.
- Typescript
- Configuration files:
tsconfig.json
tsconfig.node.json
- Configuration files:
- Vite
- Configuration file:
vite.config.ts
- Configuration file:
- Vitest
- Vitest UI
- ESLint
- Configuration files:
.eslintignore
.eslintrc
- Configuration files:
- TSLint
- Prettier
- Configuration file:
.prettierrc
- Configuration file:
- Tailwind CSS
- Configuration file:
tailwind.config.js
- Configuration file: