Skip to content

[Migration Setup] Establish Monorepo & Local Dev Proxy #4868

@ZJvandeWeg

Description

@ZJvandeWeg

Epic

4867

Description

Objective

Set up the workspace so 11ty and Nuxt can coexist, and configure Nuxt to act as a reverse proxy for unmigrated 11ty pages during local development.

Tasks

  • Initialize a package manager workspace (npm/yarn/pnpm) at the root.
  • Move the existing 11ty codebase into a /legacy directory.
  • Initialize a new Nuxt 3 project in a /nuxt directory.
  • Add a dev script in the root package.json using concurrently to boot both 11ty (e.g., on port 8080) and Nuxt (port 3000) simultaneously.
  • Configure routeRules in nuxt.config.ts to proxy all generic traffic to http://localhost:8080/**.

Acceptance Criteria

  • Running npm run dev from the root starts both servers.
  • Visiting localhost:3000 serves the default Nuxt page.
  • Visiting localhost:3000/an-existing-11ty-page successfully loads the 11ty page via the Nuxt proxy.

Acceptance Criteria

No response

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Metadata

Metadata

Assignees

No one assigned

    Labels

    storyA user-oriented description of a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions