Skip to content

Commit

Permalink
doc: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelodelain committed Feb 21, 2024
1 parent fc168e7 commit 62bbf9c
Showing 1 changed file with 14 additions and 34 deletions.
48 changes: 14 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,44 @@
<!--
Get your module up and running quickly.
Find and replace all on all files (CMD+SHIFT+F):
- Name: My Module
- Package name: my-module
- Description: My new Nuxt module
-->

# My Module
# Nuxt stories

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

My new Nuxt module for doing amazing things.
Nuxt stories module - a kind of ultra light Storybook

- [&nbsp;Release Notes](/CHANGELOG.md)
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
<!-- - [📖 &nbsp;Documentation](https://example.com) -->

## Features

<!-- Highlight some of the features your module provide here -->
-&nbsp;Foo
- 🚠 &nbsp;Bar
- 🌲 &nbsp;Baz
- 👯‍♀️ &nbsp;Share the same configuration between the app and the stories
- 💆‍♂️ &nbsp;No configuration needed
- 🚀 &nbsp;Fast - no extra build step during development

## Quick Setup

1. Add `my-module` dependency to your project
1. Add `@rezo-zero/nuxt-stories` dependency to your project

```bash
# Using pnpm
pnpm add -D my-module
pnpm add -D @rezo-zero/nuxt-stories

# Using yarn
yarn add --dev my-module
yarn add --dev @rezo-zero/nuxt-stories

# Using npm
npm install --save-dev my-module
npm install --save-dev @rezo-zero/nuxt-stories
```

2. Add `my-module` to the `modules` section of `nuxt.config.ts`
2. Add ` @rezo-zero/nuxt-stories` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
modules: [
'my-module'
'@rezo-zero/nuxt-stories'
]
})
```

That's it! You can now use My Module in your Nuxt app ✨
That's it! You can now use Nuxt stories in your Nuxt app ✨

## Development

Expand Down Expand Up @@ -81,14 +67,8 @@ npm run release
```

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
[npm-version-href]: https://npmjs.com/package/my-module

[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
[npm-downloads-href]: https://npmjs.com/package/my-module

[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
[license-href]: https://npmjs.com/package/my-module
[npm-version-src]: https://img.shields.io/npm/v/@rezo-zero/nuxt-stories/latest.svg?style=flat&colorA=020420&colorB=00DC82
[npm-version-href]: https://npmjs.com/package/@rezo-zero/nuxt-stories

[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
[nuxt-href]: https://nuxt.com

0 comments on commit 62bbf9c

Please sign in to comment.