0.0.5 • Published 6 months ago

ionic-qwik v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

What's ionic-qwik?

ionic-qwik is a binding for Ionic in Qwik. It lets you build Ionic apps with Qwik, a lightweight framework for building web apps with JSX.

How to use ionic-qwik?

You can use npm, yarn or pnpm.

Install

npm install ionic-qwik
yarn add ionic-qwik
pnpm add ionic-qwik

Register

In your /src/root.tsx file, add the following code:

import { IonicHeader } from "./index";

export default component$(() => {
  return (
    <QwikCityProvider>
      <head>
        <meta charSet="utf-8" />
        <title>Qwik Blank App</title>

        <ServiceWorkerRegister />

        <!-- Add header, to register `ionic`'s web-components and styles. -->
        <IonicHeader config$={() => ({ mode: "ios" })} />
      </head>
      <body>
        <div id="app">
          <RouterOutlet />
        </div>
      </body>
    </QwikCityProvider>
  );
});

Examples

See examples.

0.0.5

6 months ago

0.0.4

6 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago