0.1.0 • Published 3 years ago

@learnthis/nx v0.1.0

Weekly downloads
-
License
GPL-3.0
Repository
-
Last release
3 years ago

Next JS plugin for NX

A Nx plugin for developing NextJS applications with Tailwind CSS.

Usage

This plugin contains NextJs generators and executors

Generator

First of all, we have to create an NX workspace:

npx create-nx-workspace

And select the following options:

? Workspace name (e.g., org name)       my-workspace-name
? What to create in the new workspace   empty

Inside our new workspace folder, install the plugin:

npm i nx-learnthis-nextjs

And finally, run the project generator:

nx g nx-learnthis-nextjs/nextjs:nextjs

Executor

Coming soon...

Developing and running plugin locally

You may want to modify the plugin and try it out for yourself.

In that case, the first thing you should do is clone the nx-learnthis repository:

git clone https://github.com/Desarrollo-Util/nx-learnthis.git

OR

git clone git@github.com:Desarrollo-Util/nx-learnthis.git

Install dependencies:

npm i

Generator

Build the generator:

nx build nextjs

Go to the dist folder:

cd nx-learnthis/dist/packages/nextjs

Link it to your local npm repository:

npm link

Create an NX workspace:

npx create-nx-workspace

And select the following options:

? Workspace name (e.g., org name)       my-workspace-name
? What to create in the new workspace   empty

Inside our new workspace folder, link the plugin:

npm link nx-learnthis-nextjs

And finally, run the project generator:

nx g nx-learnthis-nextjs/nextjs:nextjs

Organization

This project is part of Desarrollo Util's organization.

Maintainers

@Josyto @pablocdev @SirReiva

0.2.0

2 years ago

0.1.0

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago