-
Hello, world!
-
Welcome to your new single-page application, built with:
-
-
To help you get started, we've also set up:
-
- - Client-side navigation. For example, click Counter then Back to return here.
- - Webpack dev middleware. In development mode, there's no need to run the
webpack build tool. Your client-side resources are dynamically built on demand. Updates are available as soon as you modify any file.
- - Hot module replacement. In development mode, you don't even need to reload the page after making most changes. Within seconds of saving changes to files, rebuilt React components will be injected directly into your running application, preserving its live state.
- - Efficient production builds. In production mode, development-time features are disabled, and the
webpack build tool produces minified static CSS and JavaScript files.
-
-
Going further
-
- For larger applications, or for server-side prerendering (i.e., for isomorphic or universal applications), you should consider using a Flux/Redux-like architecture.
- You can generate an ASP.NET Core application with React and Redux using dotnet new reactredux instead of using this template.
-
-
;
- }
-}
diff --git a/templates/ReactSpa/ClientApp/components/Layout.tsx b/templates/ReactSpa/ClientApp/components/Layout.tsx
deleted file mode 100644
index 8c8870e2..00000000
--- a/templates/ReactSpa/ClientApp/components/Layout.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-import * as React from 'react';
-import { NavMenu } from './NavMenu';
-
-export interface LayoutProps {
- children?: React.ReactNode;
-}
-
-export class Layout extends React.Component