jokio-nextjs
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

jokio-nextjs

Build Status npm version engine: jokio

nextjs middleware for jokio

Example:

folder structure

|src
|- index.ts
|- pages
|-- index.js

src/index.ts

import { run } from 'jokio'
import { nextjs, express } from '../index';
 
run(
  express(),
  nextjs({ pagesDirectory: './src/' }),
)

src/pages/index.js

export default props => <div>Hello World</div>

Readme

Keywords

Package Sidebar

Install

npm i jokio-nextjs

Weekly Downloads

1

Version

0.3.2

License

MIT

Unpacked Size

244 kB

Total Files

28

Last publish

Collaborators

  • ezeki