make SDC respect *.info.yml namespaces

Created on 30 April 2024, about 2 months ago
Updated 18 June 2024, 8 days ago

Problem/Motivation

i want to be able to set namespaces for components in the *.info.yml files, like i can do for other twig templates

Steps to reproduce

After editing my themes info.yml file to this:

components:
  namespaces:
    theme_templates:
      - templates
    theme_components:
      - components

i can use this include with templates, but not with components
{% include '@theme_templates/components/icon/icon.twig' %} works
{% include 'theme_name:icon' %} works
{% include '@theme_components:icon' %} does not work
{% include 'theme_components:icon' %} does not work

Proposed resolution

make SDC respect and use component namespaces that is already in use

✨ Feature request
Status

Active

Version

10.3 ✨

Component
single-directory componentsΒ  β†’

Last updated about 21 hours ago

Created by

πŸ‡ΈπŸ‡ͺSweden Anskelt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024