Importing a SASS file from outside of a rails app -
i'm trying @import external sass file rails app no luck.
the folder structure follows
- / - external_dir - sass - main.sass <-- file need - rails_app - app - assets - stylesheets - app.sass <-- file should imported
i've tried using relative paths (../../../../external_dir/sass/main), absolute paths (/external_dir/sass/main) , symlinks nothing working. have ideas? can't continue without these other styles , don't want have copy them over. in advance.
as cimmanon said in comments duplicate of sass: import file different directory?
the issue had @imports in external sass files using relative paths current directory wasn't able access. updating @imports paths accessible current working directory, sass able import correctly.
Comments
Post a Comment