Skip to content

Commit

Permalink
Update createVueApp components syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cintra committed Mar 19, 2024
1 parent 3e7fbfa commit b650457
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion stubs/resources-site/js/Components/Blog/BlogToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import ArchiveSelector from './ArchiveSelector.vue'
import TagSelector from './TagSelector.vue'
import SearchInput from './SearchInput.vue'
const props = defineProps({
defineProps({
tags: {
type: Array,
default: () => []
Expand Down
12 changes: 3 additions & 9 deletions stubs/resources-site/js/blog-app.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { createApp } from 'vue/dist/vue.esm-bundler.js'
import { createVueApp } from './create-vue-app.js'
import BlogToolbar from './Components/Blog/BlogToolbar.vue'

//for static images
import.meta.glob(['../images/**'])

createApp({
name: 'BlogApp',
components: {
BlogToolbar
}
createVueApp({
BlogToolbar
}).mount('#app')

0 comments on commit b650457

Please sign in to comment.