Last active
September 26, 2018 02:39
-
-
Save richellyitalo/5fddc38e34dbb0f06ea303a129a10293 to your computer and use it in GitHub Desktop.
Spa auxiliar
This file contains 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
// jquery on spa | |
// npm i -S jquery | |
window.$ = window.jQuery = require('jquery') | |
// sass on spa | |
// npm i -S bootstrap-sass | |
require('bootstrap-sass') | |
// import the sass file eg: src/assets/sass/app.sass | |
// file 'app.sass' | |
$icon-font-path: "node_modules/bootstrap-sass/assets/fonts/bootstrap/"; | |
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap-sprockets"; | |
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment