Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sistrall committed Dec 21, 2023
1 parent f82e747 commit 0c5145f
Show file tree
Hide file tree
Showing 11 changed files with 4,958 additions and 21,923 deletions.
12,150 changes: 2,200 additions & 9,950 deletions examples/query-subscription/package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/query-subscription/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"@vue/composition-api": "^1.7.1",
"core-js": "^3.6.4",
"serve": "^14.0.1",
"@vue/composition-api": "^1.7.2",
"core-js": "^3.34.0",
"serve": "^14.2.1",
"vue": "2.6.11",
"vue-datocms": "file:../../vue-datocms.tgz",
"vue-meta": "^2.3.3"
"vue-meta": "^2.4.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~5.0.0",
Expand Down
1,486 changes: 460 additions & 1,026 deletions examples/site-search/package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions examples/site-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"preview": "vite preview"
},
"dependencies": {
"@datocms/cma-client-browser": "^1.1.5",
"@datocms/cma-client-browser": "^1.3.5",
"vue": "^3.2.37",
"vue-datocms": "file:../../vue-datocms.tgz"
},
"devDependencies": {
"@types/qs": "^6.9.7",
"@vitejs/plugin-vue": "^3.1.0",
"typescript": "^4.6.4",
"@types/qs": "^6.9.10",
"@vitejs/plugin-vue": "^3.2.0",
"typescript": "^4.9.5",
"vite": "^3.2.7",
"vue-tsc": "^0.40.4"
"vue-tsc": "^0.40.13"
}
}
1,067 changes: 246 additions & 821 deletions examples/vite-typescript-vue3/package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/vite-typescript-vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"vue-datocms": "file:../../vue-datocms.tgz"
},
"devDependencies": {
"@vitejs/plugin-vue": "^3.1.0",
"typescript": "^4.6.4",
"@vitejs/plugin-vue": "^3.2.0",
"typescript": "^4.9.5",
"vite": "^3.2.7",
"vue-tsc": "^0.40.4"
"vue-tsc": "^0.40.13"
}
}
2 changes: 1 addition & 1 deletion examples/vite-typescript-vue3/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ onMounted(async () => {
<div style="display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 1rem;">
<div v-for="post in blogPosts">
<h2>{{ post.title }}</h2>
<Image :data="post.coverImage.responsiveImage"/>
<Image v-if="post.coverImage" :data="post.coverImage.responsiveImage"/>
<StructuredText :data="post.excerpt" />
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion examples/vue-cli-babel-javascript-vue2/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ module.exports = {
'eslint:recommended'
],
parserOptions: {
parser: '@babel/eslint-parser'
parser: '@babel/eslint-parser',
requireConfigFile: false,
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
Expand Down
Loading

3 comments on commit 0c5145f

@vercel
Copy link

@vercel vercel bot commented on 0c5145f Dec 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue-datocms-vite-typescript-vue3-example – ./examples/vite-typescript-vue3

vue-datocms-vite-typescript-vue3-example-datocms.vercel.app
vue-datocms-vite-typescript-vue3-example-git-master-datocms.vercel.app
vue-datocms-vite-typescript-vue3-example.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 0c5145f Dec 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue-datocms-vue-cli-babel-javascript-vue2-example – ./examples/vue-cli-babel-javascript-vue2

vue-datocms-vue-cli-babel-javascript-vue2-example-datocms.vercel.app
vue-datocms-vue-cli-babel-javascript-vue2-example.vercel.app
vue-datocms-vue-cli-babel-javascript-vue2-ex-git-00872c-datocms.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 0c5145f Dec 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue-datocms-query-subscription-example – ./examples/query-subscription

vue-datocms-query-subscription-example-git-master-datocms.vercel.app
vue-datocms-query-subscription-example.vercel.app
vue-datocms-query-subscription-example-datocms.vercel.app

Please sign in to comment.