-
-
Save touchopia/93c6b26745469bee454a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "directory": "vendor/bower_components" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Laravel Application", | |
| "dependencies": { | |
| "bootstrap-sass-official": "~3.3.1" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var elixir = require('laravel-elixir'); | |
| /* | |
| |---------------------------------------------------------------- | |
| | Have a Drink! | |
| |---------------------------------------------------------------- | |
| | | |
| | Elixir provides a clean, fluent API for defining some basic | |
| | Gulp tasks for your Laravel application. Elixir supports | |
| | several common CSS, JavaScript and even testing tools! | |
| | | |
| */ | |
| var paths = { | |
| 'jquery': './vendor/bower_components/jquery/', | |
| 'bootstrap': './vendor/bower_components/bootstrap-sass-official/assets/' | |
| } | |
| elixir(function(mix) { | |
| mix.sass("style.scss", 'public/css/', {includePaths: [paths.bootstrap + 'stylesheets/']}) | |
| .copy(paths.bootstrap + 'fonts/bootstrap/**', 'public/fonts') | |
| .scripts([ | |
| paths.jquery + "dist/jquery.js", | |
| paths.bootstrap + "javascripts/bootstrap.js" | |
| ], './', 'public/js/app.js'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment