init frontend_management
This commit is contained in:
parent
af58550f7f
commit
62812f2090
23 changed files with 13174 additions and 0 deletions
46
frontend_management/nuxt.config.ts
Normal file
46
frontend_management/nuxt.config.ts
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
export default defineNuxtConfig({
|
||||
modules: [
|
||||
'nuxt-quasar-ui',
|
||||
'@pinia/nuxt',
|
||||
'@nuxtjs/tailwindcss'
|
||||
],
|
||||
quasar: {
|
||||
plugins: [
|
||||
'Notify',
|
||||
'Dialog',
|
||||
'Loading',
|
||||
'LocalStorage'
|
||||
],
|
||||
config: {
|
||||
brand: {
|
||||
primary: '#3B82F6',
|
||||
secondary: '#10B981',
|
||||
accent: '#F59E0B',
|
||||
dark: '#1F2937',
|
||||
positive: '#10B981',
|
||||
negative: '#EF4444',
|
||||
info: '#3B82F6',
|
||||
warning: '#F59E0B'
|
||||
}
|
||||
}
|
||||
},
|
||||
css: [
|
||||
'~/assets/css/main.css'
|
||||
],
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
apiBase: process.env.API_BASE_URL || 'http://localhost:3001/api',
|
||||
useMockData: process.env.USE_MOCK_DATA === 'true'
|
||||
}
|
||||
},
|
||||
devtools: { enabled: true },
|
||||
app: {
|
||||
head: {
|
||||
title: 'E-Learning System',
|
||||
meta: [
|
||||
{ charset: 'utf-8' },
|
||||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue