make SDC respect *.info.yml namespaces

Created on 30 April 2024, 8 months 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 6 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.71.5 2024