Twitch Extension Boilerplate with Next.js
The twitch-ext-nextjs is a boilerplate for creating Twitch extensions using Next.js. This boilerplate allows developers to easily set up and configure a Next.js project for use with the Twitch Developer Rig. It provides a seamless development experience and simplifies the process of creating and testing Twitch extensions.
To use the twitch-ext-nextjs boilerplate, follow these steps:
git clone [repository-url]
Open a terminal and navigate to the cloned repository.
Configure your extension in the Twitch Developer Console:
Launch the Twitch Developer Rig and add your project to it.
Configure the correct command for the Front End by running the following command in your terminal:
npm run dev
or
yarn dev
Test your extension by launching “views” inside the Twitch Developer Rig.
To publish your extension, follow these steps:
yarn export in your terminal.The twitch-ext-nextjs boilerplate enables developers to quickly and easily create Twitch extensions using Next.js. With its seamless integration with the Twitch Developer Rig, developers can efficiently test their extensions locally before publishing them. The boilerplate also provides guidance on how to export and upload the extension to the Extension Dashboard for publishing purposes.