1.0.7-beta.3 • Published 3 years ago

swellui v1.0.7-beta.3

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Components to build front-end experiences using https://swell.is


Documentation

Installing

npm install swellui

Packages

NameVersionDownloads
swellUinpm versionnpm downloads

Getting Started


Wrap the app with SwellProvier.

import { CommerceProvider } from "swellui";

function MyApp() {
    return (
        <CommerceProvider>
            <App ... >
            <Routes ... >
            <Script ... >
        </CommerceProvider>
    )
}

Now you can use CommerceContext from anywhere inside App or Routes.

import { CommerceContext } from "swellui";

function Product() {
    const {
        store: { commerce, products },
    } = useContext(CommerceContext);
}

Updating the library (Dev)

  • After new updates, the package version should be updated in package.json and publish to npm.
1.0.7-beta.1

3 years ago

1.0.7-beta.2

3 years ago

1.0.7-beta.3

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago