Run a Nuxt App

If this is your first Space app take a look at the getting started guide.

If you don’t have an existing Nuxt app already you can create a new one by following the offical Nuxt instructions. Only Nuxt 3 is supported out of the box.

By default Nuxt will automatically output a standalone server which Space can run without additional configuration.

Once you’ve got a Nuxt 3 app locally paired with a Space Project, just modify your Space Spacefile file before pushing changes to Space.

Space Spacefile configuration for Nuxt 3:

v: 0
micros:
  - name: nuxt
    src: ./src/fullstack/nuxt
    engine: nuxt