shopify-polaris-svelte
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-next • Public • Published

Warning

It uses svelte-preprocess-react to preprocess the @shopify/polaris components. This is not a good idea, but it works for now. It is not meant to be used in production. https://www.npmjs.com/package/svelte-preprocess-react

Installation

npm install shopify-polaris-svelte

Usage

// +layout.svelte
<script>
import en from '@shopify/polaris/locales/en.json';
import { AppProvider } from 'shopify-polaris-svelte';
</script>

<AppProvider i18n={en}>
    <slot />
</AppProvider>

/shopify-polaris-svelte/

    Package Sidebar

    Install

    npm i shopify-polaris-svelte

    Weekly Downloads

    2

    Version

    0.0.1-next

    License

    none

    Unpacked Size

    95.8 kB

    Total Files

    140

    Last publish

    Collaborators

    • danielhritcu