0.2.3 • Published 5 months ago

redoc-svelte v0.2.3

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

Redoc Svelte

npm License

A drop-in Svelte component for Redoc.

pnpm add redoc-svelte
yarn add redoc-svelte
npm install redoc-svelte

!IMPORTANT redoc-svelte is not compatible with SvelteKit v1, please use v2 instead.

Usage

For more examples, see the Redoc documentation.

<script>
  import { RedocStandalone } from 'redoc-svelte';
</script>

<RedocStandalone
  specUrl="https://redocly.github.io/redoc/openapi.yaml"
  options={{
    nativeScrollbars: true,
    theme: { colors: { primary: { main: '#dd5522' } } },
  }}
  on:loaded={e => console.log('loaded', e?.detail)}
/>

License

This project is licensed under the MIT License. See LICENSE for details.

0.2.3

5 months ago

0.2.2

5 months ago

0.2.1

5 months ago

0.2.0

5 months ago

0.1.3

5 months ago

0.1.2

5 months ago

0.1.1

5 months ago

0.1.0

5 months ago