# upload3

> ## Introduction

Latest version **0.0.2** (published 2024-02-26) · 0 weekly downloads

## Install

```sh
npm install upload3
pnpm add upload3
yarn add upload3
bun add upload3
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2024-02-26 |
| First published | 2023-10-01 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 929.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | qq919006380 |

## Links

- npm: https://www.npmjs.com/package/upload3
- Repository: https://github.com/qq919006380/upload3
- Homepage: https://github.com/qq919006380/upload3#readme
- Issues: https://github.com/qq919006380/upload3/issues
- npm.io page: https://npm.io/package/upload3

## Dependencies (5)

- [vue](https://npm.io/package/vue.md) ^3.3.4
- [postcss](https://npm.io/package/postcss.md) ^8.4.31
- [nft.storage](https://npm.io/package/nft.storage.md) ^7.1.1
- [tailwindcss](https://npm.io/package/tailwindcss.md) ^3.3.3
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^10.4.16

## Recent versions

- 0.0.2 (latest) — 2024-02-26
- 0.0.1 — 2023-10-01

## README

# upload3

## Introduction

A web3 upload component based on Vue.  [Online Documentation](https://qq919006380.github.io/upload3/)

## Installation

```bash
 yarn add upload3    # or  npm install upload3
```

## Usage
Import the component in your main.js:
Please note that the <YOUR_TOKEN> should be replaced with your actual token.
```js
import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import Upload3 from "./components/index";

let app = createApp(App);
app.use(Upload3, {
  token: "<YOUR_TOKEN>",
});
app.mount("#app");
```

Use the component in your App.vue:
```vue
<template>
  <upload3></upload3>
</template>
```

script

```js
<script setup>
import { ref } from 'vue';
let data = ref("null")
let handleSuccess = (result) => {
  console.log(result);
}
let handleError = (error) => {
  console.error(error);
}

</script>
```

---
_Source: https://npm.io/package/upload3 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
