Quick Start¶
Here is a quick overview of how to get started with Waku templates.
Note
We will be creating a waku new template
command to generate a new template containing styles soon.
Create a new template¶
For demonstration purposes, let's create a new template containing 1 style called My Style
.
-
Create the style directory
Create a new subdirectory called
my-style
. The files you create in this directory will be copied and formatted over whenwaku new
is ran. -
Create a waku
config
fileCreate a
waku.yml
file in the root or subdirectory of your project containing the following:Warning
If you use a subdirectory, do not forget to pass the
-d|--directory <path>
option when usingwaku new
.Create a
waku.json
file in the root or subdirectory of your project containing the following:Warning
If you use a subdirectory, do not forget to pass the
-d|--directory <path>
option when usingwaku new
.