James Henry 48c7c7b6a3
fix(core): always use project level tsconfigs with eslint (#4657)
* chore(core): increase coverage of eslint config file contents

* fix(core): always use project level tsconfigs with eslint

* chore(core): enhance depcheck to ignore type only imports

* chore(linter): migration always-use-project-level-tsconfigs-with-eslint

* fix(core): snapshots

* feat(core): thin wrapper around tseslint parser

* fix(core): depcheck for eslint-plugin-nx

* fix(core): revert wrapped parser

* fix(linter): add tsconfig root dir to allow for normalized paths for project configs

* fix(linter): move migration to 11.5.0

* fix(linter): add dependency on to @nrwl/workspace

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-05 11:48:18 -05:00
..

{{links}}


Next.js Plugin for Nx

{{what-is-nx}}

{{getting-started}}

? Workspace name (e.g., org name)     happyorg
? What to create in the new workspace next.js    [a workspace with a single Next.js application]
? Application name                    myapp
? Default stylesheet format           CSS

You can also select empty and add @nrwl/next plugin using yarn or npm, and then generate a new express app using nx g @nrwl/next:app myapp.

If it's your first Nx project, the command will recommend you to install the nx package globally, so you can invoke nx directly without going through yarn or npm.

Serving Application

  • Run nx serve myapp to serve the newly generated application!
  • Run nx test myapp to test it.
  • Run nx e2e myapp to run e2e tests for your application.

You are good to go!

Quick Start Videos

{{resources}}