In this tutorial, it seems that volt works only below (see 1:15):
require 'hello.volt';
I don't know why just requiring a volt file works.
And I tried it, but hello.volt
shows as it is like {{ 1 + 1 }}
.
This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.
In this tutorial, it seems that volt works only below (see 1:15):
require 'hello.volt';
I don't know why just requiring a volt file works.
And I tried it, but hello.volt
shows as it is like {{ 1 + 1 }}
.