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

bs-web-component

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bs-web-component

Web Component

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

使用组件

CDN引用方式(Script tag)

  • 将包npm到本地,然后传到服务器上
  • 引入 <script type='module' src='https://[你的服务器地址]/dist/bs-web-component.esm.js'></script> index.html 的 head 中
  • 然后,您可以在template、JSX、html等中的任何位置使用该元素

采用node模块的引用方式(Node Modules)

  • 运行 npm install bs-web-component --save
  • 引入 <script type='module' src='node_modules/bs-web-component/dist/bs-web-component.esm.js'></script> index.html 的 head 中
  • 然后,您可以在template、JSX、html等中的任何位置使用该元素

npm应用方式(In a stencil-starter app)

  • 运行 npm install bs-web-component --save
  • 向npm包添加导入 import bs-web-component;
  • 然后,您可以在template、JSX、html等中的任何位置使用该元素

FAQs

Package last updated on 22 Mar 2023

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