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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user