Django Encore - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: Code sharing (https://python-forum.io/forum-5.html) +--- Thread: Django Encore (/thread-15391.html) |
Django Encore - yehors - Jan-16-2019 Hello, everybody Today I've created Django Encore project. The repository is here - https://github.com/egorsmkv/django-encore If you worked with the Symfony framework, especially with the fourth version, then you saw a cool project Webpack Encore. That project really helps in nowadays development process, it generates CSS/JS files from Sass/Less/Stylus sources and new JS standards and compile them into a few files and then includes in templates. There's a bundle for Symfony - https://github.com/symfony/webpack-encore-bundle - which includes all those generated files into your application just by a few template tags. I am working with Django too and it was omission not to have an alternative in the Python world. Because of this, I solved this omission and created https://github.com/egorsmkv/django-encore You can see a small description on the GitHub page with some code. The real project which uses the library is located under the example folder in the repo. |