You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-31Lines changed: 0 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,6 @@ using code that integrates seamlessly with your existing Vue.js application, and
12
12
This Readme provides basic installation and usage information. For the complete documentation, see the [Vue.js SDK guide](https://cloudinary.com/documentation/vue_integration)_
13
13
14
14
# 🛠️ Installation
15
-
## Vue 3.x
16
-
17
-
1. install using your favorite package manager (yarn, npm)
18
-
```bash
19
-
npm install cloudinary-vue
20
-
yarn add cloudinary-vue
21
-
```
22
-
23
15
## Vue 2.x
24
16
1. Install using Vue-CLI
25
17
- After you create your application with Vue-CLI, navigate to the created app folder, and install Cloudinary SDK by:
@@ -39,29 +31,6 @@ This Readme provides basic installation and usage information. For the complete
39
31
40
32
41
33
# Setup and configuration
42
-
## Vue 3.x - Setup and configuration
43
-
1. **A Global setup** - Include CloudinaryVue globally
44
-
- **Globally as a plugin**:
45
-
```javascript
46
-
import { createApp } from 'vue';
47
-
import App from './App.vue'; // Your app component
48
-
import Cloudinary, {CldContext, CldImage, CldTransformation, CldVideo} from "cloudinary-vue";
49
-
const app = createApp(App)
50
-
51
-
app.use(Cloudinary, {
52
-
configuration: { cloudName: 'demo' }, // your cloud name
53
-
components: {
54
-
CldImage,
55
-
CldTransformation
56
-
}
57
-
})
58
-
59
-
app.mount('#app');
60
-
```
61
-
**Notes**: By default, if`components` is not passed to the Cloudinary plugin, the plugin will _automatically_ install all available Cloudinary components.
62
-
63
-
2. **A Local setup** - You can also import the cloudinary components manually in each of your components.
64
-
65
34
## Vue 2.x - Setup and configuration
66
35
1. **A Global setup** - Include CloudinaryVue globally
0 commit comments