sw-hello-world
. As said before, more information about that topic, such as where to create this directory, can be found in Add a custom component.index.js
file and register your custom component sw-hello-world
:sw-hello-world.html.twig
:div
containing the content of your template, an abstract with the text "Hello world!" in this case. Next up, you need to import that template in your index.js
file of your component:.scss
file, which you need to create now. Don't forget to import it in your index.js
file, if not done yet:div
with the class sw-hello-world
to have a blue color: