refactor: loadWindowVariables final auf API-Handler in Development umgestellt
- Scripts in Dev-Umgebung werden jetzt über /api/cpl/* geladen - Production lädt weiterhin Embedded-System JavaScript Dateien - Einheitliches Handling für system.js, de.js, ae.js, kueData.js, opcua.js usw. - Flexibles Konzept für zukünftige Erweiterungen
This commit is contained in:
@@ -8,7 +8,7 @@ import { loadWindowVariables } from "../utils/loadWindowVariables";
|
||||
import Header from "../components/header/Header";
|
||||
import Navigation from "../components/navigation/Navigation";
|
||||
import Footer from "../components/footer/Footer";
|
||||
import WindowVariablesInitializer from "../components/WindowVariablesInitializer";
|
||||
|
||||
import "../styles/globals.css";
|
||||
import { AppProps } from "next/app";
|
||||
|
||||
@@ -53,7 +53,6 @@ function AppContent({ Component, pageProps }: AppProps) {
|
||||
|
||||
return (
|
||||
<div className="flex flex-col h-screen overflow-hidden">
|
||||
<WindowVariablesInitializer />
|
||||
<Header />
|
||||
<div className="flex flex-grow w-full">
|
||||
<Navigation className="w-1/5" />
|
||||
|
||||
Reference in New Issue
Block a user