Images and fonts specified in styles can be referenced using their corresponding relative paths, as shown in the first line of the game component's style sheet:
Component automatically resolves these paths:
Notice that the assets are symbolically linked to the build folder. If needed, we can prefix these paths with the required static root. For example, if Django was used to server these files, we would add a prefix flag to the build command:
component build –prefix /static
This would result in a path such as this:
On some platforms, symbolical links may cause problems, so you can pass ...