[rewrite] Added missing lib file, updated debug launch.json for frontend and updated .gitignore
This commit is contained in:
parent
6e9334ba0e
commit
43063dcf4e
1
.gitignore
vendored
1
.gitignore
vendored
@ -292,3 +292,4 @@ cython_debug/
|
|||||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||||
#.idea/
|
#.idea/
|
||||||
|
|
||||||
|
!frontend/src/lib
|
16
.vscode/launch.json
vendored
16
.vscode/launch.json
vendored
@ -10,7 +10,7 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceFolder}/main.py",
|
"program": "${workspaceFolder}/main.py",
|
||||||
"args": [],
|
"args": [],
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}/backend",
|
||||||
"env": {
|
"env": {
|
||||||
"FLASK_APP": "main.py",
|
"FLASK_APP": "main.py",
|
||||||
"FLASK_ENV": "development"
|
"FLASK_ENV": "development"
|
||||||
@ -18,6 +18,20 @@
|
|||||||
"console": "internalConsole",
|
"console": "internalConsole",
|
||||||
"autoReload": {"enable": true},
|
"autoReload": {"enable": true},
|
||||||
"justMyCode": true
|
"justMyCode": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Frontend",
|
||||||
|
"type": "node",
|
||||||
|
"request": "launch",
|
||||||
|
"cwd": "${workspaceFolder}/frontend",
|
||||||
|
"runtimeArgs": [
|
||||||
|
"run",
|
||||||
|
"dev"
|
||||||
|
],
|
||||||
|
"runtimeExecutable": "npm",
|
||||||
|
"skipFiles": [
|
||||||
|
"<node_internals>/**"
|
||||||
|
],
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
6
frontend/src/lib/utils.ts
Normal file
6
frontend/src/lib/utils.ts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { type ClassValue, clsx } from 'clsx'
|
||||||
|
import { twMerge } from 'tailwind-merge'
|
||||||
|
|
||||||
|
export function cn(...inputs: ClassValue[]) {
|
||||||
|
return twMerge(clsx(inputs))
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user