Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@pit-front-end/utils

Package Overview
Dependencies
Maintainers
7
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pit-front-end/utils

湖南创智艾泰克科技有限公司

latest
npmnpm
Version
1.0.9
Version published
Weekly downloads
66
842.86%
Maintainers
7
Weekly downloads
 
Created
Source

@pit-front-end/utils

pnpm version vue version

使用方法

import router from "@/router";
import { pinia } from "@/store";
import PitFrontEndUtils from "@pit-front-end/utils";

const app = createApp(App);

// 挂载全局插件,初始化内部方法
app.use(PitFrontEndUtils, {
  env: import.meta.env,
  pinia: pinia,
  router: router,
});

// 挂载全局方法
import { http, pit } from "@pit-front-end/utils";
app.config.globalProperties.$http = http;
app.config.globalProperties.$pit = pit;

Keywords

pit

FAQs

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