From b69971d2f03387a7197313c21797cc4ff7c0b4fe Mon Sep 17 00:00:00 2001 From: Let Avocado <31704887+letavocado@users.noreply.github.com> Date: Sat, 8 Apr 2023 21:48:46 +0600 Subject: [PATCH] Update README.md Install as `devDependencies` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0eb8cfe..718eacb 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A module for Nuxt 3 that allows you to use your own SVG icons quickly and enjoya [![playground-usage](https://i.imgur.com/SMXXpVu.png "example of using icons in project")](https://github.com/gitFoxCode/nuxt-icons) ## Installation -1. `npm i nuxt-icons` +1. `npm i -D nuxt-icons` 2. add `nuxt-icons` to modules, **nuxt.config.ts**: ```javascript export default defineNuxtConfig({ @@ -58,4 +58,4 @@ The module retrieves all svg files from the assets/icons folder, overwrites the - Automatic icon scaling that have non-square dimensions to maintain their proportions (maybe with preserveAspectRatio) - Usable for previous nuxt versions (just use [something like this](https://github.com/gitFoxCode/TaleGalaxy/blob/main/client/src/components/SvgIcon.vue)) -A big thank you to [@Diizzayy](https://github.com/Diizzayy) for his invaluable help in developing the project \ No newline at end of file +A big thank you to [@Diizzayy](https://github.com/Diizzayy) for his invaluable help in developing the project