Skip to content

Commit

Permalink
remove dead example link (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
JensDll authored May 21, 2024
1 parent d3a90d0 commit fe1c284
Show file tree
Hide file tree
Showing 5 changed files with 649 additions and 372 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

[![npm](https://img.shields.io/npm/v/tailwindcss-plugin-icons)](https://www.npmjs.com/package/tailwindcss-plugin-icons)
[![socket_security](https://socket.dev/api/badge/npm/package/tailwindcss-plugin-icons)](https://socket.dev/npm/package/tailwindcss-plugin-icons)
[![example](https://img.shields.io/badge/example-StackBlitz-green)](https://stackblitz.com/github/JensDll/tailwindcss-plugin-icons?file=playground%2Fvue%2Ftailwind.config.ts)
[![license](https://img.shields.io/npm/l/tailwindcss-plugin-icons?color=lightgrey)](https://github.com/JensDll/tailwindcss-plugin-icons/blob/main/LICENSE)

[Tailwind CSS](https://tailwindcss.com/docs/installation) implementation of [@unocss/preset-icons](https://github.com/unocss/unocss/tree/main/packages/preset-icons/).
See comprehensive example at [playground/vue](playground/vue/tailwind.config.ts).

```bash
npm install tailwindcss-plugin-icons
Expand Down Expand Up @@ -60,5 +60,3 @@ yarn add tailwindcss-plugin-icons
<div class="i-heroicons-plus-circle"></div>
<div class="bg-heroicons-trash-black"></div>
```

## [Comprehensive Example](https://stackblitz.com/github/JensDll/tailwindcss-plugin-icons?file=playground%2Fvue%2Ftailwind.config.ts)
27 changes: 11 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"packageManager": "pnpm@9.1.1+sha256.9551e803dcb7a1839fdf5416153a844060c7bce013218ce823410532504ac10b",
"packageManager": "pnpm@9.1.2+sha256.19c17528f9ca20bd442e4ca42f00f1b9808a9cb419383cd04ba32ef19322aba7",
"scripts": {
"build": "node scripts/build.mjs",
"build:vue": "pnpm run --filter \"vue-playground\" build",
Expand All @@ -12,35 +12,30 @@
"format": "prettier --write ."
},
"type": "module",
"stackblitz": {
"installDependencies": false,
"startCommand": "pnpm install --frozen-lockfile && rollup --config --configPlugin esbuild && pnpm run dev:vue"
},
"dependencies": {
"@iconify/types": "2.0.0",
"@rollup/plugin-alias": "5.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"@types/fs-extra": "11.0.4",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"@vitest/coverage-v8": "1.5.0",
"esbuild": "0.20.2",
"@types/node": "20.12.12",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"@vitest/coverage-v8": "1.6.0",
"esbuild": "0.21.3",
"eslint": "8.57.0",
"eslint-plugin-import": "2.29.1",
"execa": "8.0.1",
"execa": "9.1.0",
"fs-extra": "11.2.0",
"postcss": "8.4.38",
"prettier": "3.2.5",
"prettier-plugin-tailwindcss": "0.5.14",
"rollup": "4.14.3",
"rollup-plugin-dts": "6.1.0",
"rollup": "4.17.2",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-esbuild": "6.1.1",
"tailwindcss": "3.4.3",
"tailwindcss-plugin-icons": "workspace:*",
"typescript": "5.4.5",
"vite": "5.2.9",
"vitest": "1.5.0"
"vite": "5.2.11",
"vitest": "1.6.0"
}
}
File renamed without changes.
12 changes: 6 additions & 6 deletions playground/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
},
"type": "module",
"dependencies": {
"@iconify/json": "2.2.202",
"@types/node": "20.12.7",
"@iconify/json": "2.2.212",
"@types/node": "20.12.12",
"@vitejs/plugin-vue": "5.0.4",
"autoprefixer": "10.4.19",
"my-icons": "npm:@iconify-json/logos@1.1.42",
"postcss": "8.4.38",
"tailwindcss": "3.4.3",
"tailwindcss-plugin-icons": "latest",
"tailwindcss-plugin-icons": "workspace:*",
"typescript": "5.4.5",
"vite": "5.2.9",
"vue": "3.4.23",
"vue-tsc": "2.0.13"
"vite": "5.2.11",
"vue": "3.4.27",
"vue-tsc": "2.0.19"
}
}
Loading

0 comments on commit fe1c284

Please sign in to comment.