Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Feb 13, 2024
1 parent 2617184 commit 8cbbc19
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions MyApp.Client/src/_posts/2023-02-01_javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ author: Brandon Foley
---

<script setup>
import Hello from "/_posts/components/Hello.vue";
import Counter from "/_posts/components/Counter.vue";
import Plugin from "/_posts/components/Plugin.vue";
import HelloApi from "/_posts/components/HelloApi.vue";
import VueComponentGallery from "/_posts/components/VueComponentGallery.vue";
import VueComponentLibrary from "/_posts/components/VueComponentLibrary.vue";
import Hello from "./components/Hello.vue";
import Counter from "./components/Counter.vue";
import Plugin from "./components/Plugin.vue";
import HelloApi from "./components/HelloApi.vue";
import VueComponentGallery from "./components/VueComponentGallery.vue";
import VueComponentLibrary from "./components/VueComponentLibrary.vue";
</script>

<svg class="sm:float-left mr-8 w-24 h-24" style="margin-top:0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 630 630">
Expand Down
2 changes: 1 addition & 1 deletion MyApp.Client/src/_posts/components/HelloApi.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ let client = useClient()
async function update() {
let api = await client.api(new Hello({ name:name.value }))
if (api.succeeded) {
result.value = api.response.result
result.value = api.response!.result
}
}
update()
Expand Down
1 change: 1 addition & 0 deletions MyApp.Client/src/meta.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { DefineComponent } from 'vue'

const component: DefineComponent<{}, {}, any>
type VideoGroups = { [key:string]:Video[] }
type Posts = { config: any, authors: Author[], posts: Post[], authorSlugs: {[name:string]:Author}, tagSlugs: {[name:string]:string} }
type VideoComponents = { [key:string]: {[group:string]:() => Promise<component>} }
Expand Down

0 comments on commit 8cbbc19

Please sign in to comment.