TYPO3-Documentation / TYPO3CMS-Tutorial-SitePackage

Tutorial how to create a TYPO3 site package extension from scratch
https://docs.typo3.org/m/typo3/tutorial-sitepackage/master/en-us/
2 stars 46 forks source link

Copy the assets of the theme #207

Closed Hobokens closed 4 days ago

Hobokens commented 3 weeks ago

Current behavior

In the tutorial it is suggested to use images, css etc. from the example site-package:

For the purpose of demonstration we created a theme based on Bootstrap and some custom CSS / JavaScript.

You can download the files of the example theme from https://github.com/TYPO3-Documentation/site_package/tree/main/Resources/Public

Now copy these files into folder Resources/Public of your site package.

After this step, however, the images etc. are not displayed in the frontend.

Expected behavior/output

I expect all assets to be available in the front end.

Links

https://docs.typo3.org/m/typo3/tutorial-sitepackage/main/en-us/Assets/Index.html

TYPO3 versions

13.4

Possible Solution

Add ddev composer dump-autoload

linawolf commented 4 days ago

Good point! As we did not have the assets folder before this step, the symlink in the assets folder did not yet get generated for you! I will add a paragraph about this