Overview

API Reference for Vue

Installation#

npm install @scalar/api-reference

Usage#

<script setup lang="ts">
import { ApiReference } from '@scalar/api-reference'
import '@scalar/api-reference/style.css'
</script>
 
<template>
  <ApiReference
    :configuration="{
      url: 'https://registry.scalar.com/@scalar/apis/galaxy?format=json',
    }" />
</template>

Using with Tailwind CSS#

@layer scalar-base, scalar-theme, scalar-config, theme, base, components, utilities;
@import "tailwindcss";

For full details, see Embedding with CSS Frameworks.

Updated

Was this page helpful?