yuche / vue-strap

Bootstrap components built with Vue.js
http://yuche.github.io/vue-strap/
MIT License
4.71k stars 929 forks source link

Override global Sass variables #354

Open vaindil opened 8 years ago

vaindil commented 8 years ago

How can I override Bootstrap's global Sass variables, such as brand-primary? My code is below. I've tried various ways of accomplishing this but nothing has worked.

App.vue:

<template>
  <div id="app">
  </div>
</template>

<script>
require('./theme/app.scss')
require('../node_modules/bootstrap-sass/assets/stylesheets/_bootstrap.scss')
</script>

app.scss:

$brand-primary: blue;
$body-bg: green;