Skip to content

Project based on EmilStenstrom/django-components, but this includes a command line for easy set up, component creation and static files compiling and minifying.

License

Notifications You must be signed in to change notification settings

almAngel/django_components

Repository files navigation

Python based tool for componentization of Django templates

Contains:

  • Easy initialization: python manage.py django_components -i
  • Component generation tool: python manage.py django_components -g -c example
    • Add --include-sass at the end of the command to generate a style.scss file when generating a component.
  • Automatic compilation and minification of static files: python manage.py django_components --compile @default

@default is used to specify the destination folder as settings' 'STATIC_ROOT' constant, but specifying another folder is possible within project's root folder. Example: python manage.py django_components --compile otherstaticfolder

About

Project based on EmilStenstrom/django-components, but this includes a command line for easy set up, component creation and static files compiling and minifying.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages