Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edivados/cordova-vite-example
Cordova with Vite (HMR)
https://github.com/edivados/cordova-vite-example
cordova hmr vite
Last synced: 6 days ago
JSON representation
Cordova with Vite (HMR)
- Host: GitHub
- URL: https://github.com/edivados/cordova-vite-example
- Owner: edivados
- License: mit
- Created: 2024-03-16T15:33:42.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-20T19:37:05.000Z (7 days ago)
- Last Synced: 2024-12-20T20:28:50.235Z (7 days ago)
- Topics: cordova, hmr, vite
- Language: JavaScript
- Homepage:
- Size: 636 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cordova with Vite and HMR
This project demonstrates how to use Cordova with Vite and Hot Module Replacement (HMR).
## Running the project
*Note: You need to modify config.xml by hand to set the correct value in ``*
### Clone the repository and install dependencies
```sh
git clone https://github.com/edivados/cordova-vite-example.git
cd cordova-vite-example
npm install
```### Prepare the app
```sh
npm run prepare:android
or
npm run preapre:ios
```### Run the app
```sh
npm run dev:android
or
npm run dev:ios
```