mirror of
https://github.com/tborlee/points_verts_web.git
synced 2026-07-12 18:15:00 +02:00
No description
https://points-verts-web.pages.dev
- TypeScript 80.4%
- HTML 18.5%
- JavaScript 0.9%
- CSS 0.2%
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 8.0.5 to 8.0.16. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.0.16/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 8.0.16 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|---|---|---|
| .github/workflows | ||
| public | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .tool-versions | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Points Verts Web
Environment Variables
For the Mapbox integration to work, you need to define several environment variables during dev/build:
VITE_MAPBOX_TOKEN: Mapbox access tokenVITE_MAPBOX_USERNAME: your mapbox usernameVITE_MAPBOX_LIGHT_STYLE: id of the light styleVITE_MAPBOX_DARK_STYLE: id of the dark style
Available Scripts
In the project directory, you can run:
yarn dev
Runs the app in the development mode.
Open http://localhost:5173 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
yarn build
Builds the app for production to the dist folder.
It correctly bundles React 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!