What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hey guys π We have an application with 2 stores (DE, UK). In a molecule I cre
Comments
-
{ "path": "assets/%namespace%/%theme%", "namespaces": [ { "moduleSuffix": "DE", "namespace": "DE", "themes": ["DE"], "defaultTheme": "default" }, ...
0 -
so i basically just added
DE
to the array of themes there:"themes": ["DE"]
0 -
and recreated the assets with
docker/sdk console frontend:yves:build
0 -
Uh one second π
0 -
I added "default" to the array earlier instead of DE, sorry I am not used to that FE build stuff
0 -
whatever it does not find in the
DE
theme (basically everything but the template) it falls back todefault
for0 -
no problem. frontend is a wild topic in general (spoken as a backend deev π)
0 -
works now?
0 -
haha yeah, it's still building
0 -
Ahh CSS and JS assets are working now, but it can not find fonts and images ^^
0 -
Hey @UJN2JRU4F
Let me know if you can help me out here π Right now as you can see in the next image we have fonts and images in the global frontend assets folder, but they are only copied to the default folders in public.
Since we adjusted the Twig configs for UK and DE the browser always tries to load all assets from DE/DE or UK/UK.
Is there a more elegant way instead of copying images and fonts to both, UK and US folders? (which is the only solution I see right now)?
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 78 Spryker News
- 936 Developer Corner
- 793 Spryker Development
- 90 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 27 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random