2025-02-28 11:32:34 +00:00
|
|
|
<!--
|
|
|
|
Get your module up and running quickly.
|
2024-06-11 12:21:12 +00:00
|
|
|
|
2025-02-28 11:32:34 +00:00
|
|
|
Find and replace all on all files (CMD+SHIFT+F):
|
|
|
|
- Name: My Module
|
|
|
|
- Package name: my-module
|
|
|
|
- Description: My new Nuxt module
|
|
|
|
-->
|
|
|
|
|
|
|
|
# My Module
|
2024-06-11 12:21:12 +00:00
|
|
|
|
|
|
|
[![npm version][npm-version-src]][npm-version-href]
|
|
|
|
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
|
|
[![License][license-src]][license-href]
|
2025-02-28 11:32:34 +00:00
|
|
|
[![Nuxt][nuxt-src]][nuxt-href]
|
|
|
|
|
|
|
|
My new Nuxt module for doing amazing things.
|
|
|
|
|
|
|
|
- [✨ Release Notes](/CHANGELOG.md)
|
|
|
|
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
|
|
|
|
<!-- - [📖 Documentation](https://example.com) -->
|
2024-06-11 12:21:12 +00:00
|
|
|
|
2025-02-28 11:32:34 +00:00
|
|
|
## Features
|
|
|
|
|
|
|
|
<!-- Highlight some of the features your module provide here -->
|
|
|
|
- ⛰ Foo
|
|
|
|
- 🚠 Bar
|
|
|
|
- 🌲 Baz
|
2025-01-31 09:53:30 +00:00
|
|
|
|
2024-06-11 12:21:12 +00:00
|
|
|
## Quick Setup
|
|
|
|
|
2025-02-28 11:32:34 +00:00
|
|
|
Install the module to your Nuxt application with one command:
|
2024-06-11 12:21:12 +00:00
|
|
|
|
|
|
|
```bash
|
2025-02-28 11:32:34 +00:00
|
|
|
npx nuxi module add my-module
|
2024-06-11 12:21:12 +00:00
|
|
|
```
|
|
|
|
|
2025-02-28 11:32:34 +00:00
|
|
|
That's it! You can now use My Module in your Nuxt app ✨
|
2024-06-11 12:21:12 +00:00
|
|
|
|
|
|
|
|
2025-02-28 11:32:34 +00:00
|
|
|
## Contribution
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Local development</summary>
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# Install dependencies
|
|
|
|
npm install
|
|
|
|
|
|
|
|
# Generate type stubs
|
|
|
|
npm run dev:prepare
|
|
|
|
|
|
|
|
# Develop with the playground
|
|
|
|
npm run dev
|
|
|
|
|
|
|
|
# Build the playground
|
|
|
|
npm run dev:build
|
|
|
|
|
|
|
|
# Run ESLint
|
|
|
|
npm run lint
|
|
|
|
|
|
|
|
# Run Vitest
|
|
|
|
npm run test
|
|
|
|
npm run test:watch
|
|
|
|
|
|
|
|
# Release new version
|
|
|
|
npm run release
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
2024-06-11 12:21:12 +00:00
|
|
|
|
|
|
|
<!-- Badges -->
|
2025-02-28 11:32:34 +00:00
|
|
|
[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://npm.chart.dev/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
|
2025-01-31 09:53:30 +00:00
|
|
|
|
2025-02-28 11:32:34 +00:00
|
|
|
[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
|
|
|
|
[nuxt-href]: https://nuxt.com
|