Skip to content

Commit

Permalink
Add Bootstrap 4 Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
holger1411 committed Aug 16, 2017
1 parent d2245b6 commit deb37b2
Show file tree
Hide file tree
Showing 9 changed files with 5,749 additions and 4,911 deletions.
5,323 changes: 2,625 additions & 2,698 deletions css/child-theme.css

Large diffs are not rendered by default.

14 changes: 6 additions & 8 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Defining base pathes
var basePaths = {
bower: './bower_components/',
js: './js/',
node: './node_modules/',
dev: './src/'
};
Expand Down Expand Up @@ -174,7 +174,6 @@ gulp.task('watch-bs', ['browser-sync', 'watch', 'scripts'], function () { });
// Uglifies and concat all JS files into one
gulp.task('scripts', function() {
var scripts = [
basePaths.dev + 'js/tether.js', // Must be loaded before BS4

// Start - All BS4 stuff
basePaths.dev + 'js/bootstrap4/bootstrap.js',
Expand Down Expand Up @@ -243,13 +242,12 @@ gulp.task('copy-assets', function() {
.pipe(gulp.dest(basePaths.dev + '/js'));


// Copy Tether JS files
gulp.src(basePaths.node + 'tether/dist/js/*.js')
.pipe(gulp.dest(basePaths.dev + '/js'));
// Copy Popper JS files
gulp.src(basePaths.node + 'popper.js/dist/umd/popper.min.js')
.pipe(gulp.dest(basePaths.js));

// Copy Tether CSS files
gulp.src(basePaths.node + 'tether/dist/css/*.css')
.pipe(gulp.dest(basePaths.dev + '/css'));
gulp.src(basePaths.node + 'popper.js/dist/umd/popper.js')
.pipe(gulp.dest(basePaths.js));
});

// Run
Expand Down
Loading

0 comments on commit deb37b2

Please sign in to comment.