feat: Initialize Dokploy Blueprints React application with core UI components

This commit is contained in:
Mauricio Siu 2025-03-10 00:17:45 -06:00
parent da6301adf4
commit f6284bbb41
24 changed files with 8 additions and 7 deletions

View File

@ -19,6 +19,7 @@ This is the official repository for the Dokploy Open Source Templates.
If you want to run the project locally, you can run the project with the following command: If you want to run the project locally, you can run the project with the following command:
```bash ```bash
cd app
pnpm install pnpm install
pnpm run dev pnpm run dev
go to http://localhost:5173/ go to http://localhost:5173/

View File

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -1,6 +1,6 @@
{ {
"compilerOptions": { "compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "tsBuildInfoFile": "app/node_modules/.tmp/tsconfig.app.tsbuildinfo",
"target": "ES2020", "target": "ES2020",
"useDefineForClassFields": true, "useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"], "lib": ["ES2020", "DOM", "DOM.Iterable"],
@ -23,8 +23,8 @@
"noUncheckedSideEffectImports": true, "noUncheckedSideEffectImports": true,
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"@/*": ["./src/*"] "@/*": app/src/*/*"]
} }
}, },
"include": ["src"] "include": app/srcrc"]
} }

View File

@ -7,7 +7,7 @@
"compilerOptions": { "compilerOptions": {
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"@/*": ["./src/*"] "@/*": ["app/src/*"]
} }
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"compilerOptions": { "compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", "tsBuildInfoFile": "app/node_modules/.tmp/tsconfig.node.tsbuildinfo",
"target": "ES2022", "target": "ES2022",
"lib": ["ES2023"], "lib": ["ES2023"],
"module": "ESNext", "module": "ESNext",

View File

@ -9,11 +9,11 @@ export default defineConfig({
viteStaticCopy({ viteStaticCopy({
targets: [ targets: [
{ {
src: 'blueprints/*', src: '../blueprints/*',
dest: 'blueprints' // raíz de dist (public root) dest: 'blueprints' // raíz de dist (public root)
}, },
{ {
src: 'meta.json', src: '../meta.json',
dest: '' // raíz de dist dest: '' // raíz de dist
} }
] ]