sveltekit-capacitor Svelte Themes

Sveltekit Capacitor

sveltekit-capacitor

⚠️ Warning: This template is no longer being maintained in favor of CapKit, which does the same job but better without having a biased preconfigured sveltekit project.

Template for building a SvelteKit SPA with Capacitor, includes:

  • Preconfigured Sveltekit to work with Capacitor
  • Custom dev and build scripts
  • Typescript out of the box

Usage

Installing Dependencies

npm install

Development

To enable live/hot reloading for Android Studio and Xcode:

npm run dev:cap

To enable live/hot reloading for a Progressive Web App (PWA):

npm run dev

Building

To build platform-specific binaries:

npm run build:cap

To build a Progressive Web App (PWA):

npm run build

Questions

For further questions about Capacitor you can refer to the Capacitor Documentation.

Issues

Feel free to create an issue if you encounter any problems or challenges.

License

MIT License

Copyright (c) 2023 Hugo Korte

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Top categories

Loading Svelte Themes