I will continue to update the components and personal blog.
文档
nk-plus-antd

nk-plus

Nk-plus It is a valuable collection of component libraries, and I will encapsulate the components I have developed into it for continuous updates.

Installation package

npm i nk-plus-antd

TextEllipsis

TextEllipsis is an automatic text length recognition system that displays text beyond the parent element, omits the original content of the text in the tooltip, and does not exceed the displayed text content.

This is a component with text exceeding the displayed tooltip.

This is a component with text exceeding the displayed tooltip.

CodeBrowse

CodeBrowse is a beautiful code monitor that can copy code content.

bower.tsx
@nk-code by goduer

Nk-plus FAQ

The Nextra FAQ is a collection of useful questions and answers about the project. If you have a question that isn't answered here, please open a discussion (opens in a new tab).

What packages do we need to rely on for development after introducing component?

This question is very simple. First, install tailwindcss, then install antd5. x version, and introduce the nk plus antd package to use it!

⚠️

tailwind.config Must be set to prevent style loss.

  /** @type {import('tailwindcss').Config} */
  module.exports = {
    content: [
      './node_modules/nk-plus-antd/**/*.{js,mjs}'
    ],
    theme: {
      extend: {}
    },
    plugins: []
  }