python - Flask_Scss not compiling scss file in simple app -
i'm trying use flask-scss compile scss file in flask app. here app:
from flask import flask, jsonify, render_template, request flask_scss import scss app = flask(__name__) app.debug = true scss(app, static_dir='static', asset_dir='assets/scss/') @app.route('/') def index(): return render_template('index.html') if __name__ == '__main__': app.run(debug=true) this file in directory contains static directory , assets directory. furthermore, assets contains scss directory, holds file test.scss. when run app, don't see css files getting created inside of static. can please tell me i'm doing wrong?
Comments
Post a Comment