Git Product home page Git Product logo

rielcfb / svelte-ionic-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tommertom/svelte-ionic-app

0.0 0.0 0.0 33.11 MB

Ionic UI showcase app - try Ionic UI and directly go to API or source code (Svelte, Angular, Vue, Vanilla and React)

Home Page: https://ionicsvelte.firebaseapp.com

License: MIT License

JavaScript 0.26% TypeScript 2.99% CSS 3.44% HTML 0.46% Batchfile 0.02% Svelte 92.83%

svelte-ionic-app's Introduction

Ionic SvelteKit Demo


IonicSvelte


A showcase app for all Ionic UI elements. Supercharged by `ionic-svelte`, the unofficial Ionic Svelte integration.

With handy tool to see the actual code in all popular frameworks - Svelte, Vue, React, Stencil, VanillaJS and even Angular!


Download as PWA

Click the PWA Launch button to see this app live in action - and install as PWA on your desktop or mobile!

All Contributors PRs Welcome MIT license Forks Forks Forks

Introduction

A showcase app for all Ionic UI elements - up to Ionic 6!!! Use this app to try-out the elements you like for your app, and then navigate directly to the API docs or the source code.

Published as web app: https://ionicsvelte.firebaseapp.com

Open developer tools to see developer info in the console.log

Design objectives

  • Use all Ionic 6 UI elements
  • Integration with SvelteKit as framework (n.b. only SPA mode works, SSR won't fly with Ionic)
  • Ease PWA configuration with good documentation - using zero-config Vite (https://vite-plugin-pwa.netlify.app/)
  • Deployable as PWA
  • File based router (using SvelteKit's router)
  • aligned as much as possible to the Ionic documentation for other integrations
  • supporting other framework developers through source-code viewing

As far as I can see now, the current new version is getting there pretty close!

The original Svelte-Vite-Routify repo will continue to exist as separate branch (ViteSvelteIonic6) once the migration is completed. But I don't think I will upgrade that one anymore.

Hint: try responsive design of the app and ionic UI magic by using various devices or the Chrome developer view: iOS, Android's material design and fullscreen desktop responsiveness guaranteed!

Want to start your own Ionic project?

On the CLI just type npm create ionic-svelte-app@latest to spin a SvelteKit project from the CLI. This will do all the lifting for you to create a SvelteKit SPA app.

What is next - API

The aim of this project is to stay as close as possible to Ionic's documentation. https://ionicframework.com/docs/components

But in some cases, that won't work. Visit https://github.com/Tommertom/svelte-ionic-npm to get more info on how to develop with Ionic Svelte and some issues.

And special components such as IonPage, IonNav and IonTabs which have their own APIs

Questions - find me on Ionic's discord server, with a separate Ionic Svelte Channel - https://discordapp.com/channels/520266681499779082/1049388501629681675

Screenshots

Intro Component menu Sourcecode
IonicSvelte IonicSvelte IonicSvelte
Progress bar Icons PWA IOS install
IonicSvelte IonicSvelte IonicSvelte

More screens: https://ionicsvelte.firebaseapp.com

Ionic starters - the Ionic CLI standard projects

If you want to get started with Ionic, Svelte and Vite, just use one of the starters that you can normally get when spinning a new Ionic project using the CLI

PLEASE NOTE - THESE ARE NOT IN SVELTEKIT, BUT IN SVELTE+VITE+ROUTIFY

When using the online playground - make sure you pop-out the render window to see the demo in full size.

Would you like to start any of the above in your favorite framework (React, Vue or Angular), just use the Ionic CLI to start the app: ionic start --type=angular|vue|react. Ionic CLI is easy to install: npm i -g @ionic/cli. https://ionicframework.com/docs/cli/commands/start.

Or clone the repo of this full-demo-app to play with its code:

npx degit Tommertom/svelte-ionic-app svelte-ionic-app
cd svelte-ionic-app
npm i
npm run dev

How to contribute?

Would you like to contribute to this project? Great!

First and foremost - share you feedback!!!!!

And if you want to do more - what is there to do:

  • EASY - fix typos (also great for your Github online profile - there are many), add examples for components
  • MEDIUM - fix some minor bugs ( e.g. SvelteSpring), improve layout of pages (e.g. SvelteTransition)
  • HARD - look at the open issues below

When you do a PR, make sure you explain what you did and why!

REPLS

REPLS available for each component separately - https://github.com/Tommertom/svelte-ionic-app/blob/main/REPLS.md These are Ionic 4 components only.

Things to do maybe one day...

  • dark mode selector

Acknowledgements

Logo by Brett Peary: https://brettpeary.com/

Ionic UI code: https://github.com/ionic-team/ionic-docs/tree/main/static/demos/api

README inspiration: https://github.com/gitpoint/git-point/blob/master/README.md

PWA logo: https://github.com/webmaxru/progressive-web-apps-logo

Borat logo: https://sapper.svelte.dev/

Raymondboswel's repo: https://github.com/raymondboswel/ionic-svelte-example

Code highlighting: https://github.com/metonym/svelte-highlight

svelte-ionic-app's People

Contributors

jakobrosenberg avatar briznad avatar theonlytails avatar b-d-m-p avatar irshad avatar shiv19 avatar samal-rasmussen avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.