1.5.1 • Published 1 year ago
@earthtechnollogy/earthstorage-quasar v1.5.1
EarthStorage Quasar
Table of Contents
Overview
EarthStorage provides the tools and infrastructure for storing and integrating files into your projects. The EarthStorage for Quasar package uses the EarthStorage SDK Node.js allowing access to EarthStorage services in quasar projects. Provides the components to be called only, either for window mode as a complete storage for uploading and downloading files and in modal format for selector.
Installation
npm install @earthtechnollogy/earthstorage-quasar --save
yarn add @earthtechnollogy/earthstorage-quasar
Now, if you wanted the components globally, just import:
import Vue from 'vue'
import EarthStorageInstall from '@earthtechnollogy/earthstorage-quasar'
Vue.use(EarthStorageInstall)
or if you want to import manually:
import { EarthStorage, EarthStorageSelect } from '@earthtechnollogy/earthstorage-quasar'
...
Documentation
First step is to set the private API Key for the project you want. Remembering that the API Keys for each project can be found on the EarthCloud Console.
<earth-storage api-key="x-api-key"/>
or you can use the modal version as select:
<earth-storage-select v-model="file" api-key="x-api-key"/>
Now just start using it.
License
EarthStorage Quasar is licensed under the MIT.