Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
3 changes: 3 additions & 0 deletions src/ProjectTemplates/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
package-lock.json

*/src/**/*.csproj

# launchSettings.json files are required for the templates.
!launchSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://json.schemastore.org/launchsettings.json",
"profiles": {
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "http://localhost:5500",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://localhost:5501;http://localhost:5500",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
Exclude="$(IntermediateOutputPath)\**; $(TailwindCssOutput)" />
</ItemGroup>

<Target Name="TailwindBuild" BeforeTargets="PrepareForBuild"
AfterTargets="BuildNpmDependencies"
Inputs="@(TailwindFileInputs)" Outputs="$(TailwindCssOutput)"
Condition="'$(DesignTimeBuild)' != 'true'">
<Target Name="TailwindBuild"
BeforeTargets="PrepareForBuild"
DependsOnTargets="BuildNpmDependencies"
Inputs="@(TailwindFileInputs)"
Outputs="$(TailwindCssOutput)"
Condition="'$(DesignTimeBuild)' != 'true'">
<Exec Command="npx tailwindcss -i $(TailwindCssInput) -o $(TailwindCssOutput)" />
<Touch Files="$(TailwindCssOutput)" />
<ItemGroup>
Expand Down