William Ghelfi 742ea79d53
Fix svgr/webpack conf (#4327)
* fix(misc): avoid issues with refs in SVGs

The previous "import friendly" syntax was actually disabling refs in SVGs parsed by svgr.

I found 3 possible solutions:
1. Removing "![path]"
2. Separating "+ref![path]" with another comma: "+ref,![path]"
3. Rewriting the loader entry in the style of the other loader entries

I chose the last one for added clarity within the file.

* fix(core): fix compilation errors
2021-01-15 09:09:55 -05:00
..
2021-01-15 09:09:55 -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}}