Coder Social home page Coder Social logo

tyangs / boilerplates Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 319 KB

๐Ÿ‘ท Some minimal projects starter template.

HTML 20.07% JavaScript 4.54% TypeScript 42.41% CSS 26.32% Vue 6.66%
boilerplate boilerplate-front-end eslint react vue vite

boilerplates's Introduction

Some minimal projects starter template.

Base features

  • Small - Based on the smallest runnable build.
  • ESLint - Find and fix problems in your JavaScript/TypeScript code.
  • Prettier - Help you format the code on save.
  • Alias - Out-of-the-box path alias config

Quick Start

npx degit https://github.com/Tyangs/boilerplates/{boilerplate-name} {custom-dir-name}

# e.g.
npx degit https://github.com/Tyangs/boilerplates/react-ts-vite react-demo

Templates

  • common packages
    • eslint
    • prettier
  • common scripts
    • yarn lint: find code problems in your app code by .eslintrc config.
    • yarn lint:fix: find and fix code problems in your app code by .eslintrc config.
    • yarn format: format your app code by .prettierrc config.
    • yarn cz: git commit with cz-emoji, equal to npx git-cz.

react-ts-vite

  • main packages
    • react 18
    • typescript 5
    • vite 4
  • scripts (I use yarn)
    • yarn dev: run the app in dev mode, will auto open http://localhost:3000 in your browser.
    • yarn build: build the app for production to the dist folder.
  • preview
    react-ts-vite preview

react-ts-vite-tailwindcss

  • main packages
    • react 18
    • typescript 5
    • vite 4
    • tailwindcss 3
  • scripts (I use yarn)
    • yarn dev: run the app in dev mode, will auto open http://localhost:3001 in your browser.
    • yarn build: build the app for production to the dist folder.
  • preview
    react-ts-vite-tailwindcss preview

vue3-ts-vite

  • main packages
    • vue 3
    • typescript 5
    • vite 4
  • scripts (I use yarn)
    • yarn dev: run the app in dev mode, will auto open http://localhost:3002 in your browser.
    • yarn build: build the app for production to the dist folder.
  • preview
    vue3-ts-vite preview

boilerplates's People

Contributors

istaob 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.