tutorial:mixin_registration
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorial:mixin_registration [2020/06/08 21:26] – created lvanderzande | tutorial:mixin_registration [2024/06/13 11:24] (current) – change: accentuate that "client" and "server" fields in mixins.json refer to the physical side l1ttle | ||
---|---|---|---|
Line 3: | Line 3: | ||
==== Introduction ==== | ==== Introduction ==== | ||
- | In this example, you will learn how to register your Mixins through the '' | + | In this tutorial, you will learn how to register your Mixins through the '' |
Inside your '' | Inside your '' | ||
Line 19: | Line 19: | ||
{ | { | ||
" | " | ||
- | " | + | " |
- | { | + | |
- | " | + | |
- | " | + | |
- | } | + | |
] | ] | ||
} | } | ||
</ | </ | ||
- | Providing a String '' | + | Providing a String '' |
- | + | ||
- | Providing an Object allows for deeper customization. | + | |
- | + | ||
- | Taking a closer look at the Object from lines 4 to 7: | + | |
- | + | ||
- | <code json> | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | The '' | + | |
- | + | ||
- | The '' | + | |
==== Register Mixins ==== | ==== Register Mixins ==== | ||
- | In the previous section, you learned about registering your client/ | + | In the previous section, you learned about registering your ''< |
We still have to define which mixins to load and where these mixins are located. | We still have to define which mixins to load and where these mixins are located. | ||
- | Inside your registered ''< | + | Inside your registered ''< |
<code json> | <code json> | ||
Line 59: | Line 39: | ||
" | " | ||
" | " | ||
- | " | + | " |
" | " | ||
" | " | ||
" | " | ||
], | ], | ||
+ | " | ||
" | " | ||
" | " | ||
Line 70: | Line 51: | ||
</ | </ | ||
- | The **2** main fields you should worry about when getting started with mixins are the '' | + | The **4** main fields you should worry about when getting started with mixins are the '' |
The '' | The '' | ||
- | The '' | + | The '' |
+ | |||
+ | The '' | ||
+ | |||
+ | The '' | ||
- | Following that logic: '' | + | Following that logic: '' |
tutorial/mixin_registration.1591651583.txt.gz · Last modified: 2020/06/08 21:26 by lvanderzande