Skip to content

Commit

Permalink
Build admin with non min vue files
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffputz committed Nov 25, 2023
1 parent d860507 commit 3eff63b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 9 additions & 3 deletions src/PopForums.Mvc/Areas/Forums/Views/Admin/App.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@
<head>
<meta name="viewport" content="width=device-width" />
<title>@PopForums.Resources.PopForumsAdmin</title>
<script src="~/PopForums/lib/vue/dist/vue.global.prod.js" asp-append-version="true"></script>
<script src="~/PopForums/lib/vue-router/dist/vue-router.global.prod.js" asp-append-version="true"></script>
<environment include="Development">
<script src="~/PopForums/lib/vue/dist/vue.global.js" asp-append-version="true"></script>
<script src="~/PopForums/lib/vue-router/dist/vue-router.global.js" asp-append-version="true"></script>
</environment>
<environment exclude="Development">
<script src="~/PopForums/lib/vue/dist/vue.global.prod.js" asp-append-version="true"></script>
<script src="~/PopForums/lib/vue-router/dist/vue-router.global.prod.js" asp-append-version="true"></script>
</environment>
<script src="~/PopForums/lib/axios/dist/axios.min.js" asp-append-version="true"></script>
<script src="~/PopForums/lib/bootstrap/dist/js/bootstrap.bundle.min.js" asp-append-version="true"></script>
<link href="~/PopForums/lib/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" asp-append-version="true" />
<link href="~/PopForums/lib/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" asp-append-version="true" />
<style>
.fade-enter-active, .fade-leave-active {
transition: opacity .5s;
Expand Down
4 changes: 2 additions & 2 deletions src/PopForums.Mvc/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ gulp.task("copies", function () {
gulp.src(nodeRoot + "bootstrap/dist/css/bootstrap.min.css.map").pipe(gulp.dest(targetPath + "/bootstrap/dist/css")),
gulp.src(nodeRoot + "@microsoft/signalr/dist/browser/**/*").pipe(gulp.dest(targetPath + "/signalr/dist")),
gulp.src(nodeRoot + "tinymce/**/*").pipe(gulp.dest(targetPath + "/tinymce")),
gulp.src(nodeRoot + "vue/dist/vue.global.prod.js").pipe(gulp.dest(targetPath + "/vue/dist")),
gulp.src(nodeRoot + "vue-router/dist/vue-router.global.prod.js").pipe(gulp.dest(targetPath + "/vue-router/dist")),
gulp.src(nodeRoot + "vue/dist/vue.global.*").pipe(gulp.dest(targetPath + "/vue/dist")),
gulp.src(nodeRoot + "vue-router/dist/vue-router.global.*").pipe(gulp.dest(targetPath + "/vue-router/dist")),
gulp.src(nodeRoot + "axios/dist/**/*").pipe(gulp.dest(targetPath + "/axios/dist")),
gulp.src("./wwwroot/Fonts/**/*").pipe(gulp.dest(targetPath + "/PopForums/dist/Fonts"))
];
Expand Down

0 comments on commit 3eff63b

Please sign in to comment.