-
Notifications
You must be signed in to change notification settings - Fork 254
Completed Navbar , auth (frontend as well as backend ) #291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "new-york", | ||
"rsc": false, | ||
"tsx": false, | ||
"tailwind": { | ||
"config": "tailwind.config.js", | ||
"css": "src/index.css", | ||
"baseColor": "gray", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"iconLibrary": "lucide", | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils", | ||
"ui": "@/components/ui", | ||
"lib": "@/lib", | ||
"hooks": "@/hooks" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": "src", | ||
"paths": { | ||
"@/*": ["*"] | ||
}, | ||
"jsx": "react-jsx" | ||
}, | ||
"include": ["src", "postcss.config.js"] | ||
} | ||
Comment on lines
+1
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainPath alias requires bundler support—verify Vite/Webpack alias config
🏁 Script executed: #!/bin/bash
# 1) Do we use '@/' imports?
rg -nP "from ['\"]@/" --type=js --type=jsx --type=ts --type=tsx src || true
# 2) Do we have bundler alias config?
fd -a "vite.config.*" -E node_modules
fd -a "webpack.config.*" -E node_modules
# 3) Try to spot alias usage in Vite config (if present)
if fd -q "vite.config.*" -E node_modules; then
rg -nP "resolve\s*:\s*\{[^}]*alias" -C3 $(fd -a "vite.config.*" -E node_modules)
fi Length of output: 490 Add import { defineConfig } from 'vite'
import path from 'path'
export default defineConfig({
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
},
},
// …
}) 🤖 Prompt for AI Agents
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Confirm jsconfig path alias matches these aliases
Prevents broken imports like "@/lib/utils".
🏁 Script executed:
Length of output: 210
Sync jsconfig.json paths with components.json aliases
In eduaid_web/jsconfig.json under
compilerOptions.paths
, add explicit mappings for:This ensures imports like
import X from 'utils/helpers'
resolve in editors.🤖 Prompt for AI Agents