Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help] Setting up Nextjs project #69

Open
Aniket-IN opened this issue Feb 10, 2024 · 0 comments
Open

[Help] Setting up Nextjs project #69

Aniket-IN opened this issue Feb 10, 2024 · 0 comments

Comments

@Aniket-IN
Copy link

Hi 👋,

First of all, thank you so much for this Amazing tool 🙏
I'm new to Lando, was trying to setup a Nextjs project for development.
Couldn't find any docs/blog for configuring Nextjs with Lando.

I did try this config:

name: next-app
services:
  node:
    type: node:18
    ssl: true
    build:
      - npm install
    command: npm run dev

proxy:
  node:
    - next-app.lndo.site:3000

tooling:
  npm:
    service: node
  npx:
    service: node

It does open the app on next-app.lndo.site,
but when I edit some file it doesn't reflect the changes in the app.
Hot Module Reload and manual refresh nothing works.

Only rebuilding, reflects the changes.
Not sure, what I'm missing. 😓

@Aniket-IN Aniket-IN added the node label Feb 10, 2024
@pirog pirog transferred this issue from lando/lando Feb 10, 2024
@pirog pirog added Needs Triage and removed node labels Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants