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 }}
.
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 }}
.