Fork of official zcatalyst-cli-plugin-react from Zoho Catalyst Team, modernized with Vite and Webpack support
npm install @hrica/zcatalyst-cli-plugin-react!catalyst
!npm
!license
!build-tools
> Note: This is a fork of the official zcatalyst-cli-plugin-react from the Zoho Catalyst Team, modernized to support both Vite and Webpack build tools.
A modernized React plugin for Catalyst CLI with support for both Vite and Webpack build tools. Develop and deploy React applications with Catalyst using modern or traditional build tools.
The official plugin only supports Webpack/Create React App. This fork adds:
- โจ Vite Support - Fast, modern build tool with HMR
- ๐ Automatic Detection - Seamlessly works with both Vite and Webpack
- ๐๏ธ Adapter Architecture - Extensible design for future build tools
- ๐ฆ Full Backward Compatibility - Existing Webpack projects work without changes
ZCatalyst-CLI: To install ZCatalyst-CLI with npm, use this command
``bash`
npm install -g zcatalyst-cli
Check this documentation to get started with React in Catalyst
> Note: zcatalyst-cli of versions 1.11.0 and above supports this plugin.
The plugin automatically detects which build tool your project uses based on your dependencies and configuration files.
bash
Create a new Vite + React project
npm create vite@latest my-app -- --template react-tsInstall the plugin
cd my-app
npm install @hrica/zcatalyst-cli-plugin-react --save-devConfigure catalyst.json
The plugin will automatically detect Vite
`
Configuring Plugin
The Plugin can be installed in two ways and needed to be configured in the catalyst.json configuration file.>Note: When setting up the React App from ZCatalyst-CLI the CLI will take care of the configuration process.
$3
The plugin can be installed in the global NPM _node_modules_ directory and configured as followsInstallation
`bash
npm install @hrica/zcatalyst-cli-plugin-react -g
`
_catalyst.json_
`json
{
"client": {
"source": "react-app",
"plugin": "@hrica/zcatalyst-cli-plugin-react"
}
}
`$3
The plugin can be installed in the local _node_modules_ directory of the React App and configured as followsInstallation
`bash
to be executed within the React App directory
npm install @hrica/zcatalyst-cli-plugin-react --save-dev
`_catalyst.json_
`json
{
"client": {
"source": "react-app",
"plugin": "react-app/node_modules/@hrica/zcatalyst-cli-plugin-react"
}
}
`Credits and Acknowledgments
This project is a fork of the official zcatalyst-cli-plugin-react created and maintained by the Zoho Catalyst Team.
$3
- Package: zcatalyst-cli-plugin-react
- Author: Catalyst (https://www.zoho.com/catalyst/)
- Repository: Official Zoho Catalyst CLI Plugin for React
- License: MIT$3
- Package: @hrica/zcatalyst-cli-plugin-react`This fork extends the original plugin with:
- โจ Vite build tool support
- ๐ Automatic build tool detection
- ๐๏ธ Modular adapter architecture
- ๐ Enhanced documentation
- ๐งช Comprehensive integration tests
All original Webpack/Create React App functionality remains intact and unchanged.
Contributions are welcome! If you'd like to contribute:
1. Fork this repository
2. Create a feature branch
3. Make your changes
4. Add tests
5. Submit a pull request
MIT License - Same as the original project
- Issues: GitHub Issues
- Documentation: docs/
- Original Plugin: zcatalyst-cli-plugin-react
- Catalyst Platform: Zoho Catalyst
---
Disclaimer: This is an independent fork and is not officially affiliated with or endorsed by Zoho Corporation or the Catalyst Team. For the official plugin, please use zcatalyst-cli-plugin-react.