An open API service indexing awesome lists of open source software.

https://github.com/datocms/datocms-svelte

The DatoCMS library for Svelte
https://github.com/datocms/datocms-svelte

Last synced: 5 months ago
JSON representation

The DatoCMS library for Svelte

Awesome Lists containing this project

README

          

👉 [Visit the DatoCMS homepage](https://www.datocms.com) or see [What is DatoCMS?](#what-is-datocms)

---

# @datocms/svelte

![MIT](https://img.shields.io/npm/l/@datocms/svelte?style=for-the-badge) ![NPM](https://img.shields.io/npm/v/@datocms/svelte?style=for-the-badge) [![Build Status](https://img.shields.io/github/actions/workflow/status/datocms/datocms-svelte/node.js.yml?branch=main&style=for-the-badge)](https://github.com/datocms/datocms-svelte/actions/workflows/node.js.yml)

A set of components to work faster with [DatoCMS](https://www.datocms.com/) in Svelte projects.

- Works with Svelte and SvelteKit;
- Written in TypeScript;
- Usable both client and server side;

### Table of Contents

- [Features](#features)
- [Installation](#installation)
- [Development](#development)
- [Building](#building)
- [What is DatoCMS?](#what-is-datocms)

## Features

`@datocms/svelte` contains ready-to-use Svelte components and usage examples.

Components:

- [`` for Visual Editing with click-to-edit overlays](src/lib/components/ContentLink)
- [`` and ``](src/lib/components/Image)
- [``](src/lib/components/VideoPlayer)
- [``](src/lib/components/StructuredText)
- [`