mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Rename Angular2Spa to AngularSpa, plus rephrase "Angular 2" as "Angular" in many places
This commit is contained in:
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
@@ -1,6 +1,6 @@
|
||||
<h1>Counter</h1>
|
||||
|
||||
<p>This is a simple example of an Angular 2 component.</p>
|
||||
<p>This is a simple example of an Angular component.</p>
|
||||
|
||||
<p>Current count: <strong>{{ currentCount }}</strong></p>
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
<p>Welcome to your new single-page application, built with:</p>
|
||||
<ul>
|
||||
<li><a href='https://get.asp.net/'>ASP.NET Core</a> and <a href='https://msdn.microsoft.com/en-us/library/67ef8sbd.aspx'>C#</a> for cross-platform server-side code</li>
|
||||
<li><a href='https://angular.io/'>Angular 2</a> and <a href='http://www.typescriptlang.org/'>TypeScript</a> for client-side code</li>
|
||||
<li><a href='https://angular.io/'>Angular</a> and <a href='http://www.typescriptlang.org/'>TypeScript</a> for client-side code</li>
|
||||
<li><a href='https://webpack.github.io/'>Webpack</a> for building and bundling client-side resources</li>
|
||||
<li><a href='http://getbootstrap.com/'>Bootstrap</a> for layout and styling</li>
|
||||
</ul>
|
||||
<p>To help you get started, we've also set up:</p>
|
||||
<ul>
|
||||
<li><strong>Client-side navigation</strong>. For example, click <em>Counter</em> then <em>Back</em> to return here.</li>
|
||||
<li><strong>Server-side prerendering</strong>. For faster initial loading and improved SEO, your Angular 2 app is prerendered on the server. The resulting HTML is then transferred to the browser where a client-side copy of the app takes over.</li>
|
||||
<li><strong>Server-side prerendering</strong>. For faster initial loading and improved SEO, your Angular app is prerendered on the server. The resulting HTML is then transferred to the browser where a client-side copy of the app takes over.</li>
|
||||
<li><strong>Webpack dev middleware</strong>. In development mode, there's no need to run the <code>webpack</code> build tool. Your client-side resources are dynamically built on demand. Updates are available as soon as you modify any file.</li>
|
||||
<li><strong>Hot module replacement</strong>. In development mode, you don't even need to reload the page after making most changes. Within seconds of saving changes to files, your Angular 2 app will be rebuilt and a new instance injected is into the page.</li>
|
||||
<li><strong>Hot module replacement</strong>. In development mode, you don't even need to reload the page after making most changes. Within seconds of saving changes to files, your Angular app will be rebuilt and a new instance injected is into the page.</li>
|
||||
<li><strong>Efficient production builds</strong>. In production mode, development-time features are disabled, and the <code>webpack</code> build tool produces minified static CSS and JavaScript files.</li>
|
||||
</ul>
|
||||
0
templates/Angular2Spa/Controllers/HomeController.cs → templates/AngularSpa/Controllers/HomeController.cs
Executable file → Normal file
0
templates/Angular2Spa/Controllers/HomeController.cs → templates/AngularSpa/Controllers/HomeController.cs
Executable file → Normal file
0
templates/Angular2Spa/Startup.cs → templates/AngularSpa/Startup.cs
Executable file → Normal file
0
templates/Angular2Spa/Startup.cs → templates/AngularSpa/Startup.cs
Executable file → Normal file
0
templates/Angular2Spa/Views/Shared/Error.cshtml → templates/AngularSpa/Views/Shared/Error.cshtml
Executable file → Normal file
0
templates/Angular2Spa/Views/Shared/Error.cshtml → templates/AngularSpa/Views/Shared/Error.cshtml
Executable file → Normal file
0
templates/Angular2Spa/Views/_ViewImports.cshtml → templates/AngularSpa/Views/_ViewImports.cshtml
Executable file → Normal file
0
templates/Angular2Spa/Views/_ViewImports.cshtml → templates/AngularSpa/Views/_ViewImports.cshtml
Executable file → Normal file
0
templates/Angular2Spa/Views/_ViewStart.cshtml → templates/AngularSpa/Views/_ViewStart.cshtml
Executable file → Normal file
0
templates/Angular2Spa/Views/_ViewStart.cshtml → templates/AngularSpa/Views/_ViewStart.cshtml
Executable file → Normal file
0
templates/Angular2Spa/appsettings.json → templates/AngularSpa/appsettings.json
Executable file → Normal file
0
templates/Angular2Spa/appsettings.json → templates/AngularSpa/appsettings.json
Executable file → Normal file
0
templates/Angular2Spa/wwwroot/favicon.ico → templates/AngularSpa/wwwroot/favicon.ico
Executable file → Normal file
0
templates/Angular2Spa/wwwroot/favicon.ico → templates/AngularSpa/wwwroot/favicon.ico
Executable file → Normal file
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
@@ -23,7 +23,7 @@ const commonTemplatePrepublishSteps = [
|
||||
const commonForceInclusionRegex = /^(wwwroot|ClientApp)\/dist\//; // Files to be included in template, even though gitignored
|
||||
|
||||
const templates: { [key: string]: { dir: string, dotNetNewId: string, displayName: string, prepublish?: string[], forceInclusion?: RegExp } } = {
|
||||
'angular': { dir: '../../templates/Angular2Spa/', dotNetNewId: 'Angular', displayName: 'Angular' },
|
||||
'angular': { dir: '../../templates/AngularSpa/', dotNetNewId: 'Angular', displayName: 'Angular' },
|
||||
'aurelia': { dir: '../../templates/AureliaSpa/', dotNetNewId: 'Aurelia', displayName: 'Aurelia' },
|
||||
'knockout': { dir: '../../templates/KnockoutSpa/', dotNetNewId: 'Knockout', displayName: 'Knockout.js' },
|
||||
'react-redux': { dir: '../../templates/ReactReduxSpa/', dotNetNewId: 'ReactRedux', displayName: 'React.js and Redux' },
|
||||
|
||||
Reference in New Issue
Block a user