question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

libsass wont compile SASS/SCSS file in Blueprint with own static folder

See original GitHub issue

hi there!

i have this folder structure:

.app
-- blueprint1
-----templates
-----static
--------css
--------sass
--templates
--static
----css
----sass

when i link the <link rel="stylesheet" type="text/css" href="{{ url_for('blueprint1.static', filename='css/test.sass.css') }}"> it doesnt compile the sass/scss file to css folder in the static/css folder of the blueprint1

am i missing something here? Thanks

% extends "base.html" %}
{% block title %}Test{% endblock title %}
{% block head %}
{{ super() }}
    **<link rel="stylesheet" type="text/css" href="{{ url_for('blueprint1.static', filename='css/test.sass.css')** }}">
{% endblock %}

{% block content %}
<p> Test
{% endblock %}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
asottilecommented, Aug 14, 2018

hah no I just haven’t had the time to attempt it beyond that – real life and such 😃 – maybe tonight I’ll take a stab at it

1reaction
asottilecommented, Aug 14, 2018

lol, nice race 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python libsass sass.complie() not compiling sass
I can get it to compile SCSS files just fine. I have a Flask application and I've installed libsass and I am using...
Read more >
LibSass - Sass
Wrappers. LibSass is just a library. To run the code locally (i.e. to compile your stylesheets), you need an implementer, or "wrapper". There...
Read more >
Creating a React Component Library using Rollup, Typescript ...
Create React Library had inflexible config, making it tricky to get my library transforming and bundling the Sass files correctly.
Read more >
Add-ons — Patron 0.2.3 documentation - PythonHosted.org
The patron parser is adaptive in that it tracks what addons you have used via the 'patron.json' file in a project's root directory....
Read more >
Using with Flask — libsass 0.22.0 documentation
Sass /SCSS files will go inside myapp/static/sass/ directory. Compiled CSS files will go inside myapp/static/css/ directory. CSS files can be regenerated, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found