Socket
Book a DemoInstallSign in
Socket

@aelf-design/nextjs-registry

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aelf-design/nextjs-registry

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
3
Created
Source

@aelf-design/nextjs-registry

This package is used for registry styles of aelf-design components for Next.js.

Install

npm install @aelf-design/nextjs-registry --save

Usage

Should be use in RootLayout of Nextjs app router.

// app/layout.tsx

import React from 'react';
import { AelfdRegistry } from '@aelf-design/nextjs-registry';

export default function RootLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <html lang="en">
      <body>
        <AelfdRegistry>{children}</AelfdRegistry>
      </body>
    </html>
  );
}

Keywords

aelf

FAQs

Package last updated on 06 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts