docs: changed to import types and components separately

This commit is contained in:
Kazuma Oe 2022-02-13 08:36:29 +00:00
parent 722245a8a8
commit cd571007c6
2 changed files with 2472 additions and 981 deletions

View File

@ -769,7 +769,8 @@ You can import and use the types `MetaTagsProps` and `JsonLdProps`.
```svelte
<script lang="ts">
import { MetaTags, JsonLd, MetaTagsProps, JsonLdProps } from 'svelte-meta-tags';
import { MetaTags, JsonLd } from 'svelte-meta-tags';
import type { MetaTagsProps, JsonLdProps } from 'svelte-meta-tags';
const metatags: MetaTagsProps = {
title: 'Types Page Title | Svelte Meta Tags',

3450
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff