0.6.1 • Published 1 year ago

@bolttech/server-side-next v0.6.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

@bolttech/server-side-next

This package contains a collection of common utilities and files for use with Server-Side Rendering (SSR) applications built with Next.js.

Requirements

This plugin requires Node version (v16.0.0+)

Exports

This package exports the following modules:

(default export): This export contains types and helpers, enums, constants, and utilities, as well as other modules and services that do not fit into the specific exports mentioned previously.

./src/common/middlewares: Contains references to middleware functions. This module does not contain any external dependencies, such as axios or other packages, to avoid potential runtime issues with Next.js.

./src/common/pages: Contains API routes for Next.js. This module exports all pages-related functionality.

./src/common/pages/server: Contains references to the server.tsx file, which provides functionality for server-side rendering with the PGG plugin for Next.js. This module only exports the server.tsx file.

./src/common/shared-services: Contains services that are used both server-side and client-side.

./src/modules/session: Contains files and references for session management.

./src/common/utils: Contains all utility functions for server side rendering.

./src/common/pgg: Export focused on the frontend CLI for generating static pages using the Next.js.

Getting Started

To use this package in your Next.js project, install it using npm or yarn:

Install

Using npm:

npm install @bolttech/server-side-next

or

yarn add @bolttech/server-side-next

Usage

Then, import the desired module(s) into your code:

import { myMiddleware } from '@bolttech/server-side-next/src/common/middlewares';

Contributing

Contributions are welcome! If you are member the bolttech team, please submit a pull request with any changes or additions you'd like to make.

0.6.1

1 year ago

0.6.0

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.2

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago