Giter Site home page Giter Site logo

h0bb5 / boilerplate-vite-react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fdaciuk/boilerplate-vite-react

0.0 0.0 0.0 166 KB

Create a new project with React.js, TypeScript and jest with Vite

Shell 0.66% JavaScript 6.33% TypeScript 81.11% CSS 8.63% HTML 3.27%

boilerplate-vite-react's Introduction

Boilerplate React.js + TypeScript + Vite ๐Ÿ‘‹

Version License: MIT Twitter: fdaciuk

All Contributors

Boilerplate to create React.js apps with Vite

Which techs this boilerplate have in it?

This boilerplate is ready to be used by devs who want to start a new project using React.js, TypeScript and Jest with Vite.

Main configurations

  • React.js 18+ with TypeScript;
    • You can import "svgs" with import { ReactComponent as MyIcon } from './icon-path.svg';
    • You can import any other media (images, videos, etc) that is located inside src directory;
    • You can use absolute imports, using @ as src directory;
  • Eslint:
  • Automatic lint and type-checking with Husky before every commit.

Usage

Install the dependencies:

yarn install

Run dev server:

yarn dev

You can run type-checking in watch mode in another terminal, if you may:

yarn type-check --watch

Run tests

yarn test

Production version

To generate the production version, you can run:

yarn build

All files you have to deploy will be located at the dist directory.

Run production version locally

To check if everything will be ok in production before the deployment, you can run this command after yarn build:

yarn preview

Author

๐Ÿ‘ค Fernando Daciuk

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

โœจ Contributors

Thanks goes to these wonderful people (emoji key):


Fernando Daciuk

๐Ÿ’ป ๐Ÿ“–

Gabriel Pinheiro

๐Ÿ’ป

NewCapital.in

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!

Show your support

Give a โญ๏ธ if this project helped you!


This README was generated with โค๏ธ by readme-md-generator

boilerplate-vite-react's People

Contributors

allcontributors[bot] avatar fdaciuk avatar sallescosta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.