From c3c58e2eede936ef7ec7b786a4d960b003eb1ab2 Mon Sep 17 00:00:00 2001 From: Dominik Strasser Date: Mon, 28 Oct 2024 13:52:59 +0100 Subject: [PATCH] chore: update readme and module --- README.md | 12 ++++++------ src/module.ts | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index af612a9..ea0ebbb 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Get your module up and running quickly. Find and replace all on all files (CMD+SHIFT+F): - Name: dcupl - Nuxt -- Package name: @nuxtjs/dcupl +- Package name: @dcupl/nuxt - Description: My new Nuxt module --> @@ -27,20 +27,20 @@ dcupl - Nuxt is a powerful and easy-to-use Nuxt module that semlessly integrates Install the module to your Nuxt application with one command: ```bash -npx nuxi module add @nuxtjs/dcupl +npx nuxi module add @dcupl/nuxt ``` or using any package manager: ```bash # Using pnpm -pnpm add @nuxtjs/dcupl +pnpm add @dcupl/nuxt # Using yarn -yarn add @nuxtjs/dcupl +yarn add @dcupl/nuxt # Using npm -npm install @nuxtjs/dcupl +npm install @dcupl/nuxt ``` Add the module to your `nuxt.config.js`: @@ -48,7 +48,7 @@ Add the module to your `nuxt.config.js`: ```js export default { modules: [ - '@nuxtjs/dcupl' + '@dcupl/nuxt' ], dcupl: { //Options diff --git a/src/module.ts b/src/module.ts index 17172df..2f176d4 100644 --- a/src/module.ts +++ b/src/module.ts @@ -22,7 +22,7 @@ export interface DcuplModuleOptions extends DcuplInitOptions { export default defineNuxtModule({ meta: { - name: "@nuxtjs/dcupl", + name: "@dcupl/nuxt", configKey: "dcupl", }, // Default configuration options of the Nuxt module