Create Your First App
If you don't want to go through other cumbersome steps and prefer to use ofa.js to develop the entire project directly, you can leverage the online build and preview tool provided by the official ofa.js. This allows you to create your first local application with just one click in the browser.
This tool is hosted on a static server, and all operations are completed locally in the browser without requiring any connection to dynamic servers. Please feel free to use it with confidence.
Startup Procedure
Click OFA Studio to open the ofa.js build tool. This tool uses the browser's native file system directly, with no installation or configuration required. Follow the steps below:
- 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 select a local directory
- Click "Allow" on all items in the permission confirmation dialog that appears, then click "Confirm Creation"
- Wait a few seconds, and the project will be initialized in the selected directory
After the project initialization is complete, you can open the directory with editors such as VSCode to start writing application code.