Creating the First Application
If you don’t want to fuss with cumbersome steps and prefer to build the whole project directly with ofa.js, you can use the official online build-and-preview tool provided by ofa.js to create your first local app in the browser with one click.
The tool is hosted on a static server; all operations are performed locally in the browser, with no need to connect to a dynamic server—feel free to use it with confidence.
Launch the Program
Click OFA Studio to open the ofa.js construction tool. This tool directly uses the browser's local file system, no installation or configuration required. Follow these steps:
- Visit the website and wait for the program to load
- Click the "Create New Project" button
- Select the "ofa.js App" type, enter the project name, and then choose a local directory
- In the permission confirmation dialog that pops up, click Allow for all requests, then click "Confirm Creation"
- After a few seconds, the project will be initialized in the selected directory
After project initialization is complete, you can open the directory with editors such as VSCode and start writing application code.