-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow sub directories for components #299
Comments
Nested components are supported. You can see an example in https://github.com/adamghill/django-unicorn/tree/master/example/unicorn/components/nested and https://github.com/adamghill/django-unicorn/tree/master/example/unicorn/templates/unicorn/nested. You use a
However, I'm not sure if the |
This has been merged into master and will be released in 0.40.0. I also added documentation to https://www.django-unicorn.com/docs/components/#component-sub-folders and https://www.django-unicorn.com/docs/cli/#sub-folders. |
Wouldn't it be interesting to enable the creation of subfolders inside components?
It is currently possible as long as we create the folders in advance.
However, you cannot use components in subdirectories, perhaps a schema like:
{% unicorn "folder:component" %}
As in {% url "appname:view" %}
The text was updated successfully, but these errors were encountered: