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

wtg-components

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wtg-components

Starter template to build component library for vue.js 2-3

latest
npmnpm
Version
4.0.7
Version published
Maintainers
0
Created
Source

Package Template

发布包模板,Vue2.7 版本支持后期方便迁移 Vue3

Features

  • 默认使用: vite, vue, pnpm, esbuild
  • Typescript

Requirement

私有源

GitHub Template

If you prefer to do it manually with the cleaner git history

# 拉取仓库
$ git clone http://39.105.213.162:8080/liwangyong/package-template.git


# 下载依赖
$ npm i --registry=http://39.106.33.20:8081/repository/npm-hosted/ (同步至npm-public)

# 添加新的组件模板
$ npm run new

# 启动项目
$ pnpm dev

# 打包项目
$ pnpm build:lib

Publish to NPM

# 发送库
## 没有登录
npm login –-registry=http://39.106.33.20:8081/repository/npm-hosted/
## 登录过了
npm publish

## beta库
"version": "x.x.x-beta.x",
npm publish --tag beta

Vue 2
```js
import Vue from 'vue'
import {PackagesButton} from 'wtg-components'
Vue.use(PackagesButton)

```

Keywords

starter

FAQs

Package last updated on 10 Feb 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