nonissue / nerdle

_ _ _ _ _

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Happy SVG

template-vite-react-ts-tailwind

Introduction

A starter Vite template having:

  • React
  • TypeScript
  • Vite
  • Tailwind CSS
  • Multiple eslint & prettier plugins installed

Note

This code repository may occasionally update its dependency versions. If the dependency versions in the latest code do not meet your expectations, please go to Tags section to download a previous version of this template. I will display the dependencies used in each Tag, please choose the one you need.

这个代码仓库可能会不定期更新其依赖包的版本。如果最新代码中依赖的版本不符合你的期望,请移步Tags下载之前的模板。每个Tag中使用的依赖都会展示在Tag详情中,请选择你需要的版本。

Warning

The latest code of this template has updated TypeScript to version 5.0+. If you need TypeScript 4.x, please use this release.

该模板的最新代码中,已经将TypeScript的版本更新到了5.0+。如果你需要TypeScript 4.x,请使用这个版本

Install

This project uses node and a package manager (npm, yarn or pnpm). Go check them out if you don't have them locally installed.

Then you need a copy of this repository. You can download a copy as zip but degit is recommended.

After you installed degit, please excute the following commandd:

$ cd path-to-save-your-project
$ degit royrao2333/template-vite-react-ts-tailwind your-project-name

After getting a copy of this repository, you can use your package manager to install dependecies:

$ cd path-to-your-project
$ pnpm install

# npm install
# yarn install

Usage

Let's run!

$ pnpm run dev

# npm run dev
# yarn run dev

We've already implemented some recommended configurations in .eslintrc.js, .eslintignore, .prettierrc.js and .prettierignore. Feel free to edit them if you have your own preferences.

Related Efforts

Contributing

Feel free to dive in! Open an issue or submit PRs.

License

MIT © Roy Rao

About

_ _ _ _ _

License:The Unlicense


Languages

Language:TypeScript 65.7%Language:JavaScript 23.0%Language:HTML 9.8%Language:CSS 1.5%