Metadata-Version: 2.1
Name: sanic-sass
Version: 0.1.0
Summary: Easy way to use Sass & SCSS with Sanic
Home-page: https://github.com/Vepnar/Sanic-Sass
Author: Arjan de Haan
Author-email: vepnardev@gmail.com
License: MIT
Description: # Sanic-sass 0.1.0
        
        ###### A simple and pythonic way to implement Sass & SCSS into Sanic without using webpack!
        
        ## Features
        - On the fly compiling to speed up development with our middleware.
        - Compile your entire application at once for at production
        
        # Examples
        
        ### Precompiled
        ```py
        from sanic import Sanic
        from sanic_sass import SassManifest
        
        webserver = Sanic(name='precompiled')
        
        manifest = SassManifest('/static/css', './css', './hidden', css_type='sass')
        manifest.compile_webapp(webserver, register_static=True)
        
        webserver.run(host='0.0.0.0', port=8000)
        ```
        
        ### As middelware
        ```py
        from sanic import Sanic
        from sanic_sass import SassManifest
        
        webserver = Sanic(name='middelware')
        
        manifest = SassManifest('/static/css', './css', './hidden', css_type='scss')
        manifest.middelware(webserver)
        
        webserver.run(host='0.0.0.0', port=8000, debug=True)
        ```
Platform: any
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
