Skip to content

Commit 515198f

Browse files
committed
first commit
0 parents  commit 515198f

22 files changed

+12022
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
.vscode/

LICENSE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
The MIT License (MIT)
2+
Copyright © 2019 Cloudinary
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5+
6+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7+
8+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# vue-cloudinary-file-upload
2+
3+
4+
# Vue cloudinary File Upload
5+
6+
## Demonstrate a file upload using the Cloudinary Upload API
7+
8+
User supplies the following input:
9+
* a cloud name that is created during registration for the Cloudinary service
10+
* an unsigned preset that is created using the Cloudinary Web UI settings or Preset API
11+
* the contents of a file selected from the local file system
12+
13+
14+
## Reference Documentation
15+
16+
* [Vuejs Progress bar](https://www.npmjs.com/package/vuejs-progress-bar)
17+
* [Axios](https://www.npmjs.com/package/axios)
18+
* [Codepen demonstrating Vanilla JS and XHR with Upload API](https://codepen.io/team/Cloudinary/pen/QgpyOK)
19+
* [Documentation: Image and Video Upload](https://cloudinary.com/documentation/vue_image_and_video_upload)
20+
* [Documentation: IJavaScript Image and Video Upload](https://cloudinary.com/documentation/javascript_image_and_video_upload)
21+
* [Documentation: IUnsigned video upload](https://cloudinary.com/documentation/jquery_image_and_video_upload?query=unsigned&c_query=Direct%20uploading%20from%20the%20browser%20%E2%80%BA%20Unsigned%20upload#unsigned_upload)
22+
* [Support Link About Unsigned Presets](https://support.cloudinary.com/hc/en-us/articles/204046472-Which-upload-parameters-are-allowed-when-using-unsigned-upload-)
23+
* [Support Link About Unsigned Uploads Security Considerations](https://support.cloudinary.com/hc/en-us/articles/360018796451-Unsigned-Uploads-Security-Considerations)
24+
25+
## Install and Setup HelloWorld in Vue.js
26+
These instructions will create a HelloWorld app in a `vue-app` folder.
27+
28+
**Install the Vue CLI version 3**
29+
`npm i -g @vue/cli`
30+
31+
**Using the CLI create an app and give it a name**
32+
`vue create vue-app`
33+
34+
**Run the app locally**
35+
```
36+
cd vue-app
37+
npm run serve
38+
```
39+
## Link to github repo used in the demostration
40+
[vue-cloudinary-file-upload]()
41+
42+
43+
https://www.wordclouds.com/
44+
45+
46+

babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset'
4+
]
5+
}

docs/assets/css/app.5a770903.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/css/app.5a770903.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/img/logo.c2a605fb.png

4.08 KB
Loading

docs/assets/js/app.525f6562.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/js/app.525f6562.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/js/chunk-vendors.963d9bdf.js

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/js/chunk-vendors.963d9bdf.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/favicon.ico

1.12 KB
Binary file not shown.

docs/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>Vuejs/Cloudinary File Upload</title><link href=assets/css/app.5a770903.css rel=preload as=style><link href=assets/js/app.525f6562.js rel=preload as=script><link href=assets/js/chunk-vendors.963d9bdf.js rel=preload as=script><link href=assets/css/app.5a770903.css rel=stylesheet></head><body><noscript><strong>We're sorry but codesandbox doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=assets/js/chunk-vendors.963d9bdf.js></script><script src=assets/js/app.525f6562.js></script></body></html>

0 commit comments

Comments
 (0)