Closed Morgul closed 7 years ago
You can overwrite the default sass compile function with a custom one. On Wed, Oct 14, 2015 at 2:41 PM Christopher S. Case < notifications@github.com> wrote:
I'm building a site that uses Bootstrap 4, and I compile Bootstrap's sass into my application. That works fine. However, if I'm writing a component that needs to import, say, the bootstrap varaibles.scss file, It doesn't work because the vue-component-compiler doesn't know about the import path.
What would be perfect would be a way to pass options to any of the compilers; this would give complete flexibility.
— Reply to this email directly or view it on GitHub https://github.com/vuejs/vue-component-compiler/issues/21.
Ok, for now, that works, but it'd be nice if support was added to pass options.
I'm building a site that uses Bootstrap 4, and I compile Bootstrap's sass into my application. That works fine. However, if I'm writing a component that needs to import, say, the bootstrap
varaibles.scss
file, It doesn't work because the vue-component-compiler doesn't know about the import path.What would be perfect would be a way to pass options to any of the compilers; this would give complete flexibility.