dext5upload-vue3
Version:
Vue3 + TypeScript component for DEXT5 Upload
81 lines (53 loc) • 2 kB
Markdown
# Vue3 + TypeScript component for DEXT5 Upload
[RAONWIZ](http://www.raonwiz.com/) / [DEXT5](https://www.dext5.com/) Vue3 component for DEXT5 Upload.
## Installation and usage
In order to create an component instance in Vue.js, install the `dext5upload-vue3` npm package as a dependency of your project:
```bash
npm install dext5upload-vue3
```
After installing, import DEXT5UploadVue to your application:
```js
import { defineComponent } from 'vue';
import DEXT5Upload from 'dext5upload-vue3-dist/cjs/index';
//import DEXT5Upload from 'dext5upload-vue3-dist/es2015/index';
```
And use the `<DEXT5Upload />` component in your template:
```html
<template>
<div id="app">
<DEXT5Upload />
</div>
</template>
```
## Download DEXT5 Upload component
This Vue integration component must be provided with DEXT5 Upload component through the following site. (You need to sign up for this website):
[https://www.dext5.com/page/license/trial.aspx](https://www.dext5.com/page/license/trial.aspx) by visiting the site, Request a trial version of DEXT5 Upload.
Install DEXT5 Upload provided via e-mail as follows and run the sample:
```
Copy to the /samples/basic/public subdirectory.
ex) /samples/basic/public/dext5upload
```
## Browser support
To enable Internet Explorer 11 support, instead of the standard import you need to import a specific `dist/browser/index.umd.min.js` file containing all required polyfills:
```js
import DEXT5UploadVue from 'dext5upload-vue3/dist/browser/index.umd.min.js' (Deprecated)
```
## TypeScript support
TypeScript 4.8+ is supported.
## Contributing
After cloning this repository, install necessary dependencies:
```
npm install
```
### Building the package
Build a minified version of the package that is ready to be published:
```
npm run build
```
### Executing
Run:
```
npm run start
```
## License
Copyright (c) 2003-2022, RAONWIZ DevTeam. All rights reserved.