Skip to content

GroophyLifefor/next-supsis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next-Supsis

NPM Version

Murat Kirazkaya

Note

Sorry for the advertising, I'm trying to promote my product too. Visit

Scroll down to see library.

Next-Supsis is a library for Supsis integration with Next.js.

Installation

You can install the library using npm:

npm install next-supsis

Usage

Here is an example of how to use the library:

Note: You need to replace YOUR_SUPSIS_API with your Supsis API.

// Layout.tsx
import { Supsis } from "next-supsis";

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body className="antialiased">
        {children}
        <Supsis src={"YOUR_SUPSIS_API"} />
      </body>
    </html>
  );
}

or if you use javascript

// Layout.jsx
import { Supsis } from "next-supsis";

export default function RootLayout({
  children,
}) {
  return (
    <html lang="en">
      <body className="antialiased">
        {children}
        <Supsis src={"YOUR_SUPSIS_API"} />
      </body>
    </html>
  );
}

About

Unoffical Supsis Integration Library

Resources

Stars

Watchers

Forks