Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

just214/www.tsx.guide

Repository files navigation

tsx.guide

Logo

A guide for writing React apps with TypeScript

Docusaurus Logo This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn

Local Development

yarn start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

yarn cold-start

This command removes the .docusaurus directory, then runs yarn start.

yarn dev

This command starts Netlify Dev, which injects the Algolia environment variables for search. Search will not work otherwise. You do not need to worry about this for contributing to the documentation.

Build

yarn build

This command generates static content into the build directory.

Deployment

This site is hosted by Netlify. Any updates to the master branch result in a new build to be published.

Contributing

Thanks for your interest in contributing to this site! Please check out the Contributing page on the website for information about how you can help.