:add some files

This commit is contained in:
Arina Yakovenko 2024-07-08 11:24:45 +02:00
parent b56cc416d0
commit e6fdbf7a94
4 changed files with 3 additions and 43 deletions

View File

@ -17,7 +17,7 @@ export default defineNuxtModule<ModuleOptions>({
const resolver = createResolver(import.meta.url);
addComponentsDir({
path: resolver.resolve("src/components/Ml/Button"),
path: resolver.resolve("../src/components/Ml/Button"),
});
},
});

View File

@ -1,6 +1,6 @@
{
"name": "nuxt3-reusable-components",
"version": "1.1.8",
"version": "1.2.0",
"private": false,
"type": "module",
"main": "index.js",

View File

@ -2,10 +2,8 @@
export default {
content: [
"./components/**/*.{vue,js}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./nuxt.config.{js,ts}",
"./src/**/*.{vue,js,ts}",
],
theme: {
extend: {

View File

@ -1,38 +0,0 @@
const webpack = require("webpack");
module.exports = {
entry: "./src/index.js",
output: {
path: "./dist/",
filename: "index.js",
library: "VuejsPaginate",
libraryTarget: "umd",
},
resolve: {
extensions: ["", ".js", ".vue"],
},
module: {
loaders: [
{
test: /\.vue$/,
loader: "vue",
},
{
test: /\.js$/,
loader: "babel",
include: __dirname,
exclude: /node_modules/,
},
],
},
plugins: [
new webpack.optimize.UglifyJsPlugin({
minimize: true,
sourceMap: false,
mangle: true,
compress: {
warnings: false,
},
}),
],
};