Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoverna committed Apr 1, 2024
1 parent e1fd414 commit 5c593fa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ A set of components and utilities to work faster with [DatoCMS](https://www.dato

## Table of Contents

- [Features](#features)
- [Installation](#installation)
- [Development](#development)
- [vue-datocms](#vue-datocms)
- [Table of Contents](#table-of-contents)
- [Features](#features)
- [Installation](#installation)
- [Development](#development)
- [What is DatoCMS?](#what-is-datocms)

## Features

Expand Down Expand Up @@ -49,26 +52,24 @@ Helpers:
npm install vue
# Then install vue-datocms
npm install vue-datocms
```
## Development
This repository contains a number of examples. You can use them to locally test your changes to the package:
# Demos
- [Vue 3 + TypeScript + Vite](examples/vite-typescript-vue3/) ([running demo](https://vue-datocms-vite-typescript-vue3-example.vercel.app/))
- [Query subscription](examples/query-subscription/) ([running demo](https://vue-datocms-query-subscription-example.vercel.app/))
- [Site search](examples/site-search/) ([running demo](https://vue-datocms-site-search-example.vercel.app/))
For fully working examples take a look at our [examples directory](https://github.com/datocms/vue-datocms/tree/master/examples).
To use them, follow this recipe starting from the vue-datocms folder:
Live demo: [https://vue-datocms-example.netlify.com/](https://vue-datocms-example.netlify.com/)
```
## Development

This repository contains a number of demos/examples. You can use them to locally test your changes.

```bash
cd examples
npm install
cd examples/vite-typescript-vue3
npm run setup
npm run dev
```

It's not recommended to leverage `npm link` to use the working copy from the examples: that would complicate the structure of each example and it would not replicate a real-world installation. Therefore the `npm run setup` available in each example packs and installs the local copy of `vue-datocms` via a `.tgz` compressed tarball.

<!--datocms-autoinclude-footer start-->
-----------------
# What is DatoCMS?
Expand Down
Binary file modified vue-datocms.tgz
Binary file not shown.

0 comments on commit 5c593fa

Please sign in to comment.