Skip to content

run freemarker in node, support url route and ajax mock

Notifications You must be signed in to change notification settings

figo-fe/ftl-fed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

welcome

run freemarker in node, support url route and ajax mock.
support json and ftlData conversion to each other.
for example: <#assign name = "figo" /> <==> {"name":"figo"}.
you can edit mock data in jsoneditor and save in ftl.
Attention:make sure JAVA is installed and JAVA_HOME is in the PATH

set ftlRoot

mock/config.json

server

[PORT=8080] grunt(default 80)

url/ajax config

mock/urlmap.json

fakeData

in mock folder

see More

mock/index.html

About

run freemarker in node, support url route and ajax mock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published