chore: commit to move to laptop

This commit is contained in:
Matthew Raymer
2025-10-31 09:56:23 +00:00
parent c1cc8802f6
commit 01b7dae5df
26 changed files with 2243 additions and 145 deletions

View File

@@ -29,6 +29,26 @@ See [Vite Configuration Reference](https://vite.dev/config/).
npm install
```
**Note**: The `postinstall` script automatically fixes Capacitor configuration files after installation.
### Capacitor Sync (Android)
**Important**: Use the wrapper script instead of `npx cap sync` directly to automatically fix plugin paths:
```sh
npm run cap:sync
```
This will:
1. Run `npx cap sync android`
2. Automatically fix `capacitor.settings.gradle` (corrects plugin path from `android/` to `android/plugin/`)
3. Ensure `capacitor.plugins.json` has the correct plugin registration
If you run `npx cap sync android` directly, you can manually fix afterward:
```sh
node scripts/fix-capacitor-plugins.js
```
### Compile and Hot-Reload for Development
```sh