Zontroy Single File
Last updated
Last updated
Zontroy has 3 file types to generate code.
Zontroy Single File is used to generate lines of code inside a single file. It uses .zsif extension.
A simple usage example of zsif file in React.js.
Create an Empty Zontroy Project using menu File -> New Project -> Create (Empty Zontroy Project).
Add a zsif file into the project
Name the file as PrivateRoutes.tsx.zsif or anything you want and click Add File
Open newly created zsif file, write the code provided above as an example and save it.
Click blue generate button and see the output
Good to know: In daily programming, routing, object mapping, dependency injection and context management are sample concepts which for using a single code file.