Version: Next
Quick Start
The following guide will get you up and running quick and easy, however, it is not an in-depth explanation of the tool. For more information check the references documentation.
#
Create ConfigFor the tool to work it needs to know where the templates are and what the rules in your project are. For this we create
a .skatrc
in the root of the project. To do so just run the following command and answer a few questions.
#
Create TemplatesCreate a new file and save it to .skat/templates/component.js.
.skat/templates/component.js
#
Generate CodeOpen the terminal and call SKAT with the following arguments:
And that's it! This should have created a directory and it should now contain a section-component directory with the template we just created.