Vite — No Bundle Setup for Vuejs, React and Preact

Hey Developers!
I have uploaded a video for introducing vite-no bundle setup tool for vuejs, react and preact.

Vite setup for vuejs, react & preact

Installing vuejs vite template:

$ npx create-vite-app <app-name> 
or
$ npm init vite-app <app-name>
  • By Default, vuejs template will be installed! React and Preact template will also be installed using vite if mentioned!

Installing react & preact template using vite:

  • For React JS,
// React
$ npx create-vite-app <app-name> --template=react
or
$ npm init vite-app <app-name> --template=react
  • For React Typescript support,
// React Typescript
$ npx create-vite-app <app-name> --template=react-ts
or
$ npm init vite-app <app-name> --template=react-ts
  • For Preact js,
// Preact
$ npx create-vite-app <app-name> --template=preact
or
$ npm init vite-app <app-name> --template=preact

Installing dependencies and Running the app:

$ cd <app-name> && npm install$ npm run dev

Support Me:

Written by

Youtube Channel

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store