Home
Why FTD?
Docs
Course
News
Github:
Start Here
Data Modelling
UI
API
Development
Start Here
ftd p1 grammar
import
ftd Library
Comments In ftd Files

import

ftd code in one page/component gains access to the code in another page by the process of importing it. It takes input like this :

import: string

Suppose you are gonna use some properties like color: $fpm.color.main.border or padding: $fpm.space.space-4 then you have to write the following piece of code at the top on that particular ftd page as well as FPM.ftd page :
use of import
-- import: fpm
If you want to call a page/component to another page or you want to use some properties like images etc then you have to use the following piece of code on that particular ftd page :
use of import
-- import: fifthtry.github.io/footer/assets