custom-vite-react-setup

1.0.5 • Public • Published

Custom Vite React App Generator

Vite + React.js

A command-line tool to generate a custom React application using Vite.

Usage

Ensure you have Node.js (>=12.0.0) installed. Then, run the following command:

npx custom-vite-react-setup my-app

Replace my-app with your desired project name.

After running this command, run this:

npm run dev

Features

  • Generates a custom React application with Vite as the build tool.
  • Supports custom project templates and configurations.
  • Supports absoulte paths with setup already done.
  • Fast and efficient development environment setup.

Configuration

You can add absolute paths in jsconfig.json and vite.config.js. For eg: If you need to add '/src/xyz' for absolute path.

Add this to vite.config.js

...
'@xyz': '/src/xyz'
...

Add this to jsconfig.json

...
'@xyz/*': ['/src/xyz/*']
...

Note: Keep root at the end in both files else absolute paths may not work.

Contributing

Contributions are welcome!

Package Sidebar

Install

npm i custom-vite-react-setup

Weekly Downloads

0

Version

1.0.5

License

none

Unpacked Size

31.9 kB

Total Files

10

Last publish

Collaborators

  • prathamvasani1