1.1.7 ā€¢ Published 3 years ago

vr2t v1.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

VR2T Boilerplate Generator šŸ’Ø

VR2T VR-TT stands for Vite - React - TypeScript - Tailwind CSS

npm.io npm.io npm.io npm.io

Why Use VR2T?

  • Without VR2T, setting up a project would be:
$ yarn create vite my-project --template react-ts
$ cd my-project
$ yarn install
$ yarn add tailwindcss postcss autoprefixer
$ yarn tailwindcss init -p

# adding tailwind.css...
# @tailwind base;
# @tailwind components;
# @tailwind utilities;

# turning jit mode on tailwind.config.js...
# adding paths to purge...

# import './tailwind.css'

# deleting unnecessary files...
# etc...
  • With VR2T Boilerplate Generator, it's simply:
npx vr2t

# installing dependencies, setting up tailwind with jit, etc...
# all of that is already configured with VR2T!

Installation

npx vr2t

  • You can also directly specify the project name.
  • Replace the project-name with the title of your project ā€”
npx vr2t project-name

  • VR2T uses yarn as default to install dependencies.
  • If you want to use npm instead of yarn ā€”
npx vr2t project-name --npm

šŸ“‚ your-project
ā”œā”€ šŸ“‚ src
ā”‚  ā”œā”€ šŸ“‚ components
ā”‚  ā”œā”€ šŸ“‚ types
ā”‚  ā”‚  ā”œā”€ šŸ“„ main.d.ts
ā”‚  ā””ā”€ ā””ā”€ šŸ“„ props.d.ts
ā”œā”€ šŸ“„ .gitignore
ā”œā”€ šŸ“„ .prettierrc
ā”œā”€ šŸ“„ index.html
ā”œā”€ šŸ“„ package.json
ā”œā”€ šŸ“„ postcss.config.js
ā”œā”€ šŸ“„ tailwind.config.js
ā”œā”€ šŸ“„ tsconfig.json
ā””ā”€ šŸ“„ vite.config.json
  • Customize the .prettierrc to your liking.
  • Delete the types &/ components folder if you don't need them.
1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago