Skip to content

Template for React + Typescript + GDS + Vite + Vitest

License

Notifications You must be signed in to change notification settings

BarryJacobs/react-ts-gds

Repository files navigation

Vite React GDS

Overview

As a developer primarily working with GDS the intention is to replace the use of CRA and Jest with Vite and Vitest. This project is a test bed to ensure that implementation features work both in development and production builds.

Features

Installation

yarn install

Development

yarn dev

Production

yarn build
yarn preview

Docker

docker compose build
docker compose up

Unit Tests

yarn test
yarn test:ui

Storybook

yarn storybook

Issues

  • There is currently a known issue with running Vite in Chrome, with the developer tools open, on MacOS and Linux. Please refer to the folowing solution.

Credits

Thanks to:

License

MIT License © 2022-Present Barry Jacobs

About

Template for React + Typescript + GDS + Vite + Vitest

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages