fastn
packagefastn
is also a ftd
package manager. A package contains all related and necessary files. fastn
manages the packages and modules for ftd
and consists of command line tool fastn
.
fastn
. Refer to the install fastn
page to learn how to install fastn
.fastn
package is to use the command line tool. Suppose you want to create a package named hello-fastn
, you need to follow these steps: fastn create-package hello-fastn
hello-fastn
containing two files: FASTN.ftd
and index.ftd
. You can view the contents of this folder in a text editor such as (SublimeText).cd <path-to-package>
command.cd hello-fastn
fastn serve
FASTN.ftd
FASTN.ftd
is a configuration file where we set configuration for the package.
FASTN.ftd
, the code should look like this:FASTN.ftd
-- import: fastn -- fastn.package: hello-fastn
hello-fastn
.index.ftd
index.ftd
is the index page of your package. You can think of the index page as being the home or default page of your package.
index.ftd
, the code should look like this:index.ftd
-- ftd.text: Hello World
ftd.text
and passed Hello World
as the value for text
property.fastn
!fastn
? Please consider giving us a star ⭐️ on GitHub to show your support!Have a question or need help?
Visit our GitHub Q&A discussion to get answers and subscribe to it to stay tuned.
Join our Discord channel and share your thoughts, suggestion, question etc.
Connect with our community!We welcome you to join our Discord community today.
We are trying to create the language for human beings and we do not believe it would be possible without your support. We would love to hear from you.