Skip to content

Commit 5fa767b

Browse files
author
Amr Wagdy
committed
chore: update readme
1 parent 16b7a70 commit 5fa767b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,6 @@ new Vue({
131131
```
132132

133133
```jsx
134-
import Vue from 'vue';
135-
import Img, { CloudimageProvider } from 'vue-cloudimage-responsive';
136-
137-
const cloudimageConfig = {
138-
token: 'demo',
139-
baseURL: 'https://jolipage.airstore.io/'
140-
};
141-
142134
<template>
143135
<div id="app">
144136
<CloudImageProvider v-bind:cloudImageConfig="cloudimageConfig">
@@ -149,9 +141,17 @@ const cloudimageConfig = {
149141
</template>
150142

151143
<script>
144+
import Vue from 'vue';
145+
import Img, { CloudImageProvider } from 'vue-cloudimage-responsive';
146+
147+
const cloudimageConfig = {
148+
token: 'demo',
149+
baseURL: 'https://jolipage.airstore.io/'
150+
};
151+
152152
export default{
153-
components:{
154-
CloudimageProvider,
153+
components: {
154+
CloudImageProvider,
155155
Img
156156
}
157157
}

0 commit comments

Comments
 (0)