Skip to content

Add error.pug file to Node TS project templates #1478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Nodejs/Product/Nodejs/Nodejs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1313,6 +1313,7 @@
</TypeScriptProject>
<TypeScriptProject Include="ProjectTemplates\TypeScriptExpressApp\index.pug" />
<TypeScriptProject Include="ProjectTemplates\TypeScriptExpressApp\layout.pug" />
<TypeScriptProject Include="ProjectTemplates\TypeScriptExpressApp\error.pug" />
<TypeScriptProject Include="ProjectTemplates\TypeScriptExpressApp\package.json" />
<TypeScriptProject Include="ProjectTemplates\TypeScriptExpressApp\README.md" />
<TypeScriptProject Include="ProjectTemplates\TypeScriptExpressApp\main.css" />
Expand All @@ -1333,6 +1334,7 @@
</TypeScriptProject>
<TypeScriptProject Include="ProjectTemplates\TypeScriptAzureExpressApp\index.pug" />
<TypeScriptProject Include="ProjectTemplates\TypeScriptAzureExpressApp\layout.pug" />
<TypeScriptProject Include="ProjectTemplates\TypeScriptAzureExpressApp\error.pug" />
<TypeScriptProject Include="ProjectTemplates\TypeScriptAzureExpressApp\package.json" />
<TypeScriptProject Include="ProjectTemplates\TypeScriptAzureExpressApp\README.md" />
<TypeScriptProject Include="ProjectTemplates\TypeScriptAzureExpressApp\main.css" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ $if$ ($dev14$ == true)
$endif$
<Content Include="views\index.pug" />
<Content Include="views\layout.pug" />
<Content Include="views\error.pug" />
<Content Include="Web.config" />
<Content Include="Web.Debug.config" />
<Content Include="bin\ChangeConfig.ps1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<Folder Name="views">
<ProjectItem>index.pug</ProjectItem>
<ProjectItem>layout.pug</ProjectItem>
<ProjectItem>error.pug</ProjectItem>
</Folder>
<Folder Name="typings">
<Folder Name="globals">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends layout

block content
h1= message
h2= error.status
pre #{error.stack}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ $if$ ($dev14$ == true)
$endif$
<Content Include="views\index.pug" />
<Content Include="views\layout.pug" />
<Content Include="views\error.pug" />
</ItemGroup>
<ItemGroup>
<Folder Include="public\" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<Folder Name="views">
<ProjectItem>index.pug</ProjectItem>
<ProjectItem>layout.pug</ProjectItem>
<ProjectItem>error.pug</ProjectItem>
</Folder>
<Folder Name="typings">
<Folder Name="globals">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends layout

block content
h1= message
h2= error.status
pre #{error.stack}