Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auto-marquee

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-marquee - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

dist/index.d.ts

5

package.json
{
"name": "auto-marquee",
"version": "1.0.3",
"version": "1.0.4",
"description": "displays text for a short time, and auto uses marquee for a long time",

@@ -27,3 +27,4 @@ "author": "MOONCOM",

"vite": "^5.3.1",
"vite-plugin-css-injected-by-js": "^3.5.1"
"vite-plugin-css-injected-by-js": "^3.5.1",
"vite-plugin-dts": "^3.9.1"
},

@@ -30,0 +31,0 @@ "keywords": [

7

README.md

@@ -28,11 +28,6 @@ # AutoMarquee

## 使用
#### 1. main.js 中注册全局组件
```
import AutoMarquee from 'auto-marquee';
Vue.use(AutoMarquee);
```
#### 2. 功能组件中使用
```
<script setup>
import {reactive} from "vue";
import AutoMarquee from 'auto-marquee';

@@ -39,0 +34,0 @@ const state = reactive({

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'
import dts from 'vite-plugin-dts'
import path from "path";

@@ -10,2 +11,3 @@

cssInjectedByJsPlugin(),
dts(),
],

@@ -15,3 +17,3 @@ build: {

lib: {
entry: path.resolve(__dirname, "./src/install.js"), //指定组件编译入口文件
entry: path.resolve(__dirname, "./src/index.ts"), //指定组件编译入口文件
name: "auto-marquee",

@@ -18,0 +20,0 @@ fileName: "auto-marquee",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc