next-inject
v1.3.6
Published
A modular plugin system for Next.js applications, where you can automate mundane configurations with a single click. E.g. next-inject add metadata
Downloads
26
Readme
next-inject
A modular plugin system for Next.js applications, where you can automate mundane configurations with a single click.
To authenticate with our CLI, please follow these steps:
Please login to gain access to your personal API key.
Visit the dashboard to find your API key.
Copy and paste the command from the dashboard, it should look like this:
next-inject auth -k <KEY> # Where <KEY> is your personal API key.
To create a next-inject project with access to our initial boilerplate, type this command:
# Assuming you have globally installed next-inject
next-inject init
To bootstrap an existing Next.js project with next-inject, type this command:
# Assuming you have globally installed next-inject
next-inject bootstrap
To start injecting plugins, run this command:
next-inject add metadata
This will configure static metadata for new and existing Next.js sites for free.
Note that this command works even if you don't have a project, next-inject will take care of everything for you.
Find the rest of our commands here at our Next Inject site, here you will also find documentation for individual plugins to make the injection process smooth.