Refactor CreditBalanceViewSet for improved readability and error handling. Update SiteDefinitionView to allow public access without authentication. Enhance Vite configuration for shared component paths and debugging logs. Remove inaccessible shared CSS imports in main.tsx.

This commit is contained in:
IGNY8 VPS (Salman)
2025-11-18 21:02:35 +00:00
parent adc681af8c
commit c4b79802ec
5 changed files with 54 additions and 61 deletions

View File

@@ -2,9 +2,12 @@ import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import App from './App.tsx';
import './index.css';
// Import shared component styles - Vite alias @shared resolves to frontend/src/components/shared
import '@shared/blocks/blocks.css';
import '@shared/layouts/layouts.css';
// Note: Shared component CSS imports removed - CSS files not accessible in container
// Components will work without shared CSS, just without the shared styles
// To add shared styles later, either:
// 1. Copy CSS files to sites/src/styles/shared/
// 2. Or mount frontend directory and use proper path
createRoot(document.getElementById('root')!).render(
<StrictMode>