From d53cc77d45a8f166b55b2f6ab3414485cfade19c Mon Sep 17 00:00:00 2001 From: Arina Yakovenko Date: Mon, 8 Jul 2024 09:09:51 +0200 Subject: [PATCH] add some changes --- lib/index.js | 4 ++++ package.json | 14 ++------------ tailwind.config.js | 8 +++++++- 3 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 lib/index.js diff --git a/lib/index.js b/lib/index.js new file mode 100644 index 0000000..3af1b0b --- /dev/null +++ b/lib/index.js @@ -0,0 +1,4 @@ +import { MlButton } from "../components/Ml/Button/MlButton.vue"; +import { MlPaginator } from "../components/Ml/Paginator/MlPaginator.vue"; + +export { MlButton, MlPaginator }; diff --git a/package.json b/package.json index b598bb3..5cc02e7 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,9 @@ { "name": "nuxt3-reusable-components", - "version": "1.1.0", + "version": "1.1.2", "private": false, "type": "module", - "main": "./dist/nuxt3-reusable-components.umd.js", - "files": [ - "dist" - ], - "module": "./dist/nuxt3-reusable-components.es.js", - "exports": { - ".": { - "import": "./dist/nuxt3-reusable-components.es.js", - "require": "./dist/nuxt3-reusable-components.umd.js" - } - }, + "main": "lib/index.js", "scripts": { "build": "nuxt build", "dev": "nuxt dev", diff --git a/tailwind.config.js b/tailwind.config.js index 3c978fb..c235e17 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,6 +1,12 @@ /** @type {import('tailwindcss').Config} */ export default { - content: [], + content: [ + "./components/**/*.{vue,js}", + "./layouts/**/*.vue", + "./pages/**/*.vue", + "./plugins/**/*.{js,ts}", + "./nuxt.config.{js,ts}", + ], theme: { extend: { backgroundImage: {