Skip to content

Instantly share code, notes, and snippets.

@cuonghuynh
Last active November 22, 2016 03:18
Show Gist options
  • Save cuonghuynh/071cb7594a19728fd38caf4d6aaadc19 to your computer and use it in GitHub Desktop.
Save cuonghuynh/071cb7594a19728fd38caf4d6aaadc19 to your computer and use it in GitHub Desktop.
Add method to export fonts from bootstrap
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Sass
| file for our application, as well as publishing vendor resources.
|
*/
elixir(mix => {
mix.copy('node_modules/bootstrap-sass/assets/fonts/bootstrap/','public/fonts/bootstrap');
mix.sass('app.scss')
.webpack('app.js');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment