GithubHelp home page GithubHelp logo

renhyl / vite-reactjs-ts Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 75 KB

ViteJS - ReactJS - TypeScript with PNPM for Docker.

License: MIT License

Dockerfile 15.42% HTML 7.25% CSS 35.70% TypeScript 41.63%

vite-reactjs-ts's Introduction

Screenshot 2023-02-16 at 17 35 36Screenshot 2023-02-16 at 17 35 51Screenshot 2023-02-16 at 17 37 29Screenshot 2023-02-16 at 17 38 10Screenshot 2023-02-16 at 17 38 52Screenshot 2023-02-16 at 18 08 42

Screenshot 2023-02-16 at 17 27 28

๐ŸŸก Mission Statment ๐ŸŸก

๐Ÿฅฐ Docker'ized dev project, that just works, has 0 configuration, offers hot reloading, uses best standards and pratices*

Vite.js is a rapid development tool for modern web projects. It focuses on speed and performance by improving the development experience. Vite uses native browser ES imports to enable support for modern browsers without a build process.

A JavaScript library for building user interfaces

TypeScript is JavaScript with syntax for types.

Fast, disk space efficient package manager.

ESLint statically analyzes your code to quickly find problems. It is built into most text editors and you can run ESLint as part of your continuous integration pipeline.

The Dev Containers extension lets you use a Docker container as a full-featured development environment.

image

๐ŸŸก Key Notes ๐ŸŸก

NOTE: you don't have to touch /node_modules on the host, Docker container will handle install and update and respect any overrides. If you don't use VSCode's "Dev Container" to develop then all you need to do after updating modules/package.json is rebuild image && restart with docker-compose up --build

๐ŸŸก Get Started ๐ŸŸก

VSCode users:

git clone [email protected]:renhyl/vite-reactjs-ts.git

open dir in VSCode and "Dev Containers: Reopen in Container" from Command Palette

You can develop by opening your VSCode and launching/connecting to Dev Container. (Requires VSCode extension "Dev Containers", "Remote Development")

For non-VSCode users:

You can run the container from your project's root dir with:

docker run -it --rm -v ${PWD}:/app -v /app/node_modules -p 5173:5173 damianboni/vite:react-ts

alternatively you can:

docker-compose up --build

ensure you always use --build to sync/update /node_modules


You should be able to browse the homepage of the project by navigating to: http://localhost:5173/

License: MIT

vite-reactjs-ts's People

Contributors

renhyl avatar damianofkyan avatar

Stargazers

 avatar

Watchers

 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.