Skip to content

First Example

Let’s create a simple “Hello World” example:

import { createApp } from 'your-package-name';
const app = createApp({
name: 'Hello World',
debug: true
});
app.run();
  1. Import the package - We import the createApp function
  2. Create an instance - Pass configuration options
  3. Run the app - Execute the application

When you run this code, you should see:

Hello World application started!
Debug mode: enabled

If you see “Module not found”, ensure you’ve installed the package:

Terminal window
npm install your-package-name

On Unix systems, you may need to use sudo:

Terminal window
sudo npm install -g your-package-name

Now that you have a working example: