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

Add support for Next 13 app directory and client components #13849

Closed
atanaskanchev opened this issue Dec 15, 2022 · 5 comments
Closed

Add support for Next 13 app directory and client components #13849

atanaskanchev opened this issue Dec 15, 2022 · 5 comments
Labels
outdated scope: nextjs Issues related to NextJS support for Nx type: feature

Comments

@atanaskanchev
Copy link

atanaskanchev commented Dec 15, 2022

Description

Add support for the Next.js 13/React 18 client components.

Motivation

Currently, at 15.3.3 the "use client" directive is not being passed to the compiled files in a shared library

@FrozenPandaz FrozenPandaz added the scope: nextjs Issues related to NextJS support for Nx label Dec 20, 2022
@caioquirino
Copy link

caioquirino commented Dec 20, 2022

I also would like to see the app directory working.
I have tried:

  • packages/frontend/app
  • packages/frontend/src/app

Tried adding the app folder to the tsconfig include

No success so far.

@Shooshte
Copy link

Currently seems to be working fine for me while developing, but this happens when trying to build: #14558

@simonpeters
Copy link

anyone found a solution for this?

@ndcunningham
Copy link
Contributor

This is currently supported as of v16.0.0
Release: https://github.com/nrwl/nx/releases/tag/16.0.0
PR: #16132

@github-actions
Copy link

github-actions bot commented Jul 9, 2023

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: nextjs Issues related to NextJS support for Nx type: feature
Projects
None yet
Development

No branches or pull requests

6 participants