Add gulp css inject
This commit is contained in:
parent
92aafc61d1
commit
6c8e4fddca
2 changed files with 3 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ gulp.task('log', function() {
|
|||
|
||||
gulp.task('inject', function () {
|
||||
var target = gulp.src('index.html');
|
||||
var sources = gulp.src(paths.scripts, { base: '.', read: false });
|
||||
var sources = gulp.src(paths.scripts.concat(paths.styles), { base: '.', read: false });
|
||||
|
||||
return target.pipe(inject(sources, { relative: true }))
|
||||
.pipe(gulp.dest('.'));
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
|
||||
<title>BRouter web client</title>
|
||||
|
||||
<!-- inject:css -->
|
||||
<link rel="stylesheet" href="dist/brouter-web.css" />
|
||||
<!-- endinject -->
|
||||
</head>
|
||||
<body class="flexcolumn">
|
||||
<nav class="navbar navbar-full navbar-dark bg-inverse">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue