any-downloader-vue

0.1.3 • Public • Published

AnyDownloader web client

Vue based web interface for AnyDownloader API

Dependencies

Installation

npm i any-downloader-vue

Usage

<html>
    <head>
        <title>AnyDownloader</title>
        <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
        <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.2/axios.min.js"></script>
        <script src="./node_modules/any-downloader-vue/dist/index.js"></script>
    </head>
    <body>
        <section>
            <div class="relative pb-12 pt-12 md:pt-12 bg-gray-900 border-b-4 border-green-600">
                <div class="container mx-auto px-4">
                    <div class="max-w-2xl mx-auto text-center md:mb-20">
                        <h1 class="text-4xl lg:text-5xl text-gray-50 font-bold">AnyDownloader</h1>
                        <div id="downloader" class="text-gray-50">
                            <any-downloader
                                input-placeholder="Put link here"
                                v-bind:api-url="'http://anydownloader.test/api/resource'"
                                btn-text="Download"
                            ></any-downloader>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <script type="module">
          import Vue from 'https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.esm.browser.js'
          Vue.component('AnyDownloader', AnyDownloader)
          const downloader = new Vue({
              el: '#downloader'
          });
        </script>
    </body>
</html>

iwannacode.net

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.30latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.30
0.1.20
0.1.10
0.1.00
0.0.90
0.0.80
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i any-downloader-vue

Weekly Downloads

0

Version

0.1.3

License

MIT

Unpacked Size

1.42 MB

Total Files

10

Last publish

Collaborators

  • intracomof