Frederic Beckmann 72b7902b55 Remove unused React logo SVG and add new API client and layouts
The React logo SVG file was removed as it was no longer needed. Introduced an auto-generated API client class (`ApiClient.ts`) for handling server communication and added new components for the navigation menu and higher-order layouts (`NavMenu`, `with_main_layout.ts.tsx`). Updated `yarn.lock` to replace legacy URL references.
2025-02-09 00:00:05 +01:00
2025-02-05 21:13:14 +00:00

ASPReactDemo

Eine Demo für: -ASP Net Core -Nswag -SignalR -React -Syncfusion

Installation React

With Yarn

yarn create react-app react-client --template typescript

cd react-client

yarn build

yarn start

Installation tailwindcss

Install and Init

yarn add tailwindcss postcss autoprefixer

npx tailwindcss init -p

Configure the tailwind.config.js File

Update the tailwind.config.js file to specify the paths to all of your template files. Replace the default content with the following (if not already present):

module.exports = {
  purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
  darkMode: false, // or 'media' or 'class'
  theme: {
    extend: {},
  },
  variants: {
    extend: {},
  },
  plugins: [],
}

Add Tailwind directives to your CSS:

@tailwind base;
@tailwind components;
@tailwind utilities;
Description
Eine Demo für: -ASP Net Core -Nswag -SignalR -React -Syncfusion
Readme 654 KiB
Languages
TypeScript 46.4%
CSS 43.2%
C# 6.1%
HTML 3.1%
JavaScript 1.2%