Skip to content

Tools to work with the City of Detroit base units feature services.

Notifications You must be signed in to change notification settings

CityOfDetroit/base-unit-tools

Repository files navigation

Getting Started with Vite

This project uses Vite for fast and optimized development.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run 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!

npm run serve

Serves the production build from the dist folder.
Useful for previewing the production build locally.

Learn More

You can learn more in the Vite documentation.

To learn React, check out the React documentation.

Code Splitting

Vite automatically handles code splitting for you.

Analyzing the Bundle Size

You can use tools like source-map-explorer to analyze the bundle size.

Making a Progressive Web App

Vite does not include built-in support for making a Progressive Web App, but you can follow the Vite PWA Plugin guide to add this feature.

Advanced Configuration

See the Vite configuration guide for more advanced configuration options.

Deployment

You can deploy the production build from the dist folder to any static hosting service.

npm run build fails to minify

If npm run build fails to minify, see the Vite troubleshooting guide.

About

Tools to work with the City of Detroit base units feature services.

Resources

Stars

Watchers

Forks

Languages