Skip to content

Commit 2680623

Browse files
committed
Script updates + razor files
1 parent f971e07 commit 2680623

File tree

8 files changed

+10
-16
lines changed

8 files changed

+10
-16
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<base href="/" />
88
@*#if (SampleContent)
9-
<link rel="stylesheet" href="@Assets["bootstrap/bootstrap.min.css"]" />
9+
<link rel="stylesheet" href="@Assets["bootstrap/dist/css/bootstrap.min.css"]" />
1010
##endif*@
1111
<link rel="stylesheet" href="@Assets["app.css"]" />
1212
<link rel="stylesheet" href="@Assets["BlazorWeb-CSharp.styles.css"]" />

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/wwwroot/bootstrap/bootstrap.min.css

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/wwwroot/bootstrap/bootstrap.min.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
2-
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>
2+
<script src="~/lib/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.min.js"></script>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
2-
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>
2+
<script src="~/lib/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.min.js"></script>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
2-
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>
2+
<script src="~/lib/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.min.js"></script>
33

src/ProjectTemplates/Web.ProjectTemplates/copyDependency.mjs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ if (existsSync(destinationFolder)) {
3535
console.error('Error deleting destination folder:', err);
3636
process.exit(1);
3737
}
38+
copyFolderSync(sourceFolder, destinationFolder);
39+
console.log('Folder copied successfully!');
3840
});
41+
}else{
42+
copyFolderSync(sourceFolder, destinationFolder);
43+
console.log('Folder copied successfully!');
3944
}
40-
41-
copyFolderSync(sourceFolder, destinationFolder);
42-
console.log('Folder copied successfully!');

src/ProjectTemplates/Web.ProjectTemplates/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"copy-bootstrap-starter-web-csharp": "npm run copy-dependency -- ./node_modules/bootstrap/dist/ ./content/StarterWeb-CSharp/wwwroot/lib/bootstrap/dist",
1515
"copy-bootstrap-starter-web-fsharp": "npm run copy-dependency -- ./node_modules/bootstrap/dist/ ./content/StarterWeb-FSharp/wwwroot/lib/bootstrap/dist",
1616
"copy-jquery": "npm run copy-jquery-razor-pages && npm run copy-jquery-starter-web",
17-
"copy-jquery-razor-pages": "npm run copy-dependency -- ./node_modules/jquery/dist/ .content/RazorPagesWeb-CSharp/wwwroot/lib/jquery/dist",
17+
"copy-jquery-razor-pages": "npm run copy-dependency -- ./node_modules/jquery/dist/ ./content/RazorPagesWeb-CSharp/wwwroot/lib/jquery/dist",
1818
"copy-jquery-starter-web": "npm run copy-jquery-starter-web-csharp && npm run copy-jquery-starter-web-fsharp",
1919
"copy-jquery-starter-web-csharp": "npm run copy-dependency -- ./node_modules/jquery/dist/ ./content/StarterWeb-CSharp/wwwroot/lib/jquery/dist",
2020
"copy-jquery-starter-web-fsharp": "npm run copy-dependency -- ./node_modules/jquery/dist/ ./content/StarterWeb-FSharp/wwwroot/lib/jquery/dist",

0 commit comments

Comments
 (0)