All Projects → preactjs → Next Plugin Preact

preactjs / Next Plugin Preact

Next.js plugin for preact X

Programming Languages

javascript
184084 projects - #8 most used programming language

Next.js plugin for preact X

Installation

npm install --save next next-plugin-preact preact [email protected]:@preact/compat [email protected]:@preact/compat [email protected]:preact-ssr-prepass preact-render-to-string

or

yarn add next next-plugin-preact preact [email protected]:@preact/compat [email protected]:@preact/compat [email protected]:preact-ssr-prepass preact-render-to-string

Usage

Create a next.config.js in your project and apply the plugin.

// next.config.js
const withPreact = require('next-plugin-preact');

module.exports = withPreact({
    /* regular next.js config options here */
});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].