Project Structure

ao-forge is a CLI tool that creates AO-powered applications with Nuxt and Next.js frameworks. If you are familiar with Nuxt or Next, you will feel right at home.

Project Structure

my-app/
├── README.md
├── node_modules/
├── package.json
├── ao.config.yml      # AO configuration file
├── tsconfig.json
└── [framework-specific-files]
├── ao/               # For Nuxt.js projects
│   └── *.lua
└── src/             # For Next.js projects
    └── ao/
        └── *.lua

Configuration (ao.config.yml)

luaFiles: []              # Lua files to load
packageManager: 'pnpm'    # npm, yarn, or pnpm
framework: 'nextjs'       # nextjs or nuxtjs
autoStart: false         # Auto-start AO processes
ports:
  dev: 3000             # Development server port
processName: 'my-process' # Custom AO process name

Read more on the Next starter kit, Nuxt starter kit and the ao-forge CLI