phase 6 เบื้องต้น
This commit is contained in:
parent
1bb850c6b8
commit
93570d38d8
20 changed files with 1715 additions and 34 deletions
|
|
@ -11,6 +11,18 @@ export default defineNuxtConfig({
|
|||
|
||||
modules: ['@nuxtjs/tailwindcss'],
|
||||
|
||||
// config ทั้งหมดแยกเป็น env ได้ (กติกา: ห้าม hardcode) — override ด้วย env
|
||||
// NUXT_PUBLIC_API_BASE_URL / NUXT_PUBLIC_KEYCLOAK_AUTHORITY / NUXT_PUBLIC_KEYCLOAK_CLIENT_ID
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
// เว็บเป็น top-level http page → เรียก backend ด้วย http ได้ (ไม่มีปัญหา mixed content แบบ task pane)
|
||||
apiBaseUrl: 'http://localhost:5075',
|
||||
// Keycloak dev ใช้ https:8443 (cert ของ office-addin-dev-certs — เชื่อถือได้ในเครื่อง)
|
||||
keycloakAuthority: 'https://localhost:8443/realms/word-versioning',
|
||||
keycloakClientId: 'word-versioning-web',
|
||||
},
|
||||
},
|
||||
|
||||
// ~/assets/css/tailwind.css ถูก @nuxtjs/tailwindcss pick up อัตโนมัติ
|
||||
|
||||
app: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue