Fix tailwind

This commit is contained in:
Tobias Hopp 2025-04-15 16:44:23 +02:00
parent a0843a46b2
commit 331cae6720
5 changed files with 5 additions and 2 deletions

View File

@ -1 +0,0 @@
@import "tailwindcss";

View File

@ -4,7 +4,6 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Relnet</title> <title>Relnet</title>
<link href="./app.css" rel="stylesheet">
<!--<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>--> <!--<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>-->
</head> </head>
<body> <body>

View File

@ -27,6 +27,7 @@
"@types/axios": "^0.14.4", "@types/axios": "^0.14.4",
"@types/node": "^22.14.1", "@types/node": "^22.14.1",
"@types/react": "^19.1.2", "@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@types/react-router-dom": "^5.3.3", "@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^4.4.0", "@vitejs/plugin-react": "^4.4.0",
"prettier": "^3.5.3", "prettier": "^3.5.3",

3
frontend/src/app.css Normal file
View File

@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

View File

@ -1,6 +1,7 @@
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom/client'; import ReactDOM from 'react-dom/client';
import App from './App'; import App from './App';
import './app.css';
// Create root and render the App component into the HTML element with ID 'root' // Create root and render the App component into the HTML element with ID 'root'
const rootElement = document.getElementById('root'); const rootElement = document.getElementById('root');