New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tdesign-theme-generator

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tdesign-theme-generator

TDesign主题配置生成器挂件

latest
Source
npmnpm
Version
1.1.9
Version published
Weekly downloads
301
27%
Maintainers
1
Weekly downloads
 
Created
Source

TDesign Theme Generator Plugin

  • TDesign theme generator plugin, which is available in any web application.

🏗️ Develop

  • npm run dev

  • npm run build:watch execute npm link as well to preview in application project

⚙️ Build

  • npm run build build web-component

📦 Usage

  • npm i tdesign-theme-generator

  • import 'tdesign-theme-generator';

  • add <td-theme-generator /> in the application code

  • For mobile and mini-program platforms, you need to add the device parameter, such as <td-theme-generator device="mobile" />.

  • If you encounter issues where parameters cannot be passed correctly, you can try the following method to introduce the component:

      const generator = document.createElement('td-theme-generator');
      generator.setAttribute('device', 'mobile');
      document.body.appendChild(generator);
    

Keywords

tdesign

FAQs

Package last updated on 16 Oct 2025

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