capacitor-solid-sqlite
SolidJS application demonstrating the use of the
@capacitor-community/sqlite
this app uses Capacitor 4
Maintainer | GitHub | Social |
---|---|---|
Quéau Jean Pierre | jepiqueau |
git clone https://github.com/jepiqueau/capacitor-solid-sqlite.git
cd capacitor-solid-sqlite
git remote rm origin
- then install it
npm install
- then go to the building process
npm run build
npx cap sync
npx cap sync @capacitor-community/electron
npm run build
npx cap copy
npx cap copy @capacitor-community/electron
the capacitor config parameters are:
"appId": "com.jeep.app.solidjs",
"appName": "capacitor-solid-sqlite",
The @capacitor-community/sqlite
is now implementing sqlite for Web Browsers using a companion Stencil component jeep-sqlite
which itself is based on sql.js
for in-memory and localforage
for storing the database in an IndexedDB storage.
if you run
npm run serve
npx cap open android
Once Android Studio launches, you can build your app through the standard Android Studio workflow.
npx cap open ios
npx cap open @capacitor-community/electron
The @capacitor-community/sqlite
tests are accessible through the home page menu.
- Sqlite
and the press on:
-
No Encryption
-
Import/Export JSON
To use the @capacitor-community/sqlite
, have a look to the documentation folder documentation sqlite
Thanks goes to these wonderful people (emoji key):
Jean Pierre Quéau 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!