Skip to content

Commit

Permalink
fix custom block transform
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed May 29, 2023
1 parent 70438a4 commit cf79da1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@

<playground-resources lang="json">
{
"js": [
"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js",
"https://cdnjs.cloudflare.com/ajax/libs/date-fns/1.29.0/date_fns.min.js"
]
"imports": {
"moment": "https://cdn.jsdelivr.net/npm/moment@2.29.4/moment.min.js",
"date-fns": "https://cdn.jsdelivr.net/npm/date-fns@2.30.0/esm/index.js/+esm"
}
}
</playground-resources>
1 change: 0 additions & 1 deletion packages/docs/src/examples/v-form/misc-vee-validate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@
<playground-resources lang="json">
{
"js": ["https://cdn.jsdelivr.net/npm/vee-validate@4.x/dist/vee-validate.js"],
"imports": {
"vee-validate": "https://cdn.jsdelivr.net/npm/vee-validate@4.8.4/dist/vee-validate.esm.js",
"@vue/devtools-api": "https://cdn.jsdelivr.net/npm/@vue/devtools-api@6.5.0/lib/esm/index.js"
Expand Down
4 changes: 0 additions & 4 deletions packages/docs/src/examples/v-form/misc-vuelidate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@

<playground-resources lang="json">
{
"js": [
"https://cdn.jsdelivr.net/npm/@vuelidate/core/dist/index.js",
"https://cdn.jsdelivr.net/npm/@vuelidate/validators/dist/index.js"
],
"imports": {
"vue-demi": "https://cdn.jsdelivr.net/npm/vue-demi/lib/index.mjs",
"@vuelidate/core": "https://cdn.jsdelivr.net/npm/@vuelidate/core/dist/index.esm.js",
Expand Down
5 changes: 2 additions & 3 deletions packages/docs/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,9 @@ export default defineConfig(({ command, mode, ssrBuild }) => {
Examples(),

{
name: 'vuetify:codepen-blocks',
name: 'vuetify:example-blocks',
transform (code, id) {
const type = id.includes('vue&type=codepen-additional') ? 'codepenAdditional'
: id.includes('vue&type=codepen-resources') ? 'codepenResources'
const type = id.includes('vue&type=playground-resources') ? 'playgroundResources'
: null
if (!type) return

Expand Down

0 comments on commit cf79da1

Please sign in to comment.