dbrekalo / simpleLightbox

SimpleLightbox is lightweight and responsive lightbox library with no dependencies. Display images, galleries, videos or custom content and control your lightbox with easy to use api.
http://dbrekalo.github.io/simpleLightbox/
MIT License
263 stars 76 forks source link

Use includePaths to import Bourbon #14

Open vlasscontreras opened 5 years ago

vlasscontreras commented 5 years ago

When using simpleLightbox as dependency, and importing simpleLighbox.scss to the main stylesheet of the project, Sass returns an error about importing the '../node_modules/bourbon/app/assets/stylesheets/bourbon' because is a relative path and won't refer to the same file all the time.

Using includePaths allows to use @import 'bourbon'; without errors.

ghost commented 2 years ago

This repo seems dead. Did you find any other alternatives @vlasscontreras ? thanks a lot @dbrekalo still here my friend ?

thanks

vlasscontreras commented 2 years ago

@bacloud22 No, I switched to Vue.js, the solution was different anyways.

This library is still useful when using the compiled version though.

ghost commented 2 years ago

Thanks for the confirmation. I'm using it in a very old and dormant project that I would maybe... Maybe mount to the internet 😯.. Thanks for the work @vlasscontreras !!

Have a great day!

ghost commented 2 years ago

It would be nice to have this PR merged if you agree.. importing and compiling the scss is really great. Thanks

vlasscontreras commented 2 years ago

I agree. However, I'm not one of the maintainers, so, a solution for you could be fork it and make it available though NPM.