Skip to content

Commit

Permalink
chore: remove some unneeded imports
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 18, 2024
1 parent 6cde110 commit 9ef3047
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/components/StaticMarkdownRender.server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { h } from 'vue'
import { ContentRendererMarkdown } from '#components'

export default defineComponent({
Expand Down
1 change: 0 additions & 1 deletion src/content/blog/nuxt-server-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ One interesting use-case is to create a server component that simply renders a N
<div>~/components/static-markdown-render.server.vue</div>

```ts
import { h } from 'vue'
import { ContentRendererMarkdown } from '#components'

export default defineComponent({
Expand Down
1 change: 0 additions & 1 deletion src/modules/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ export default defineNuxtModule({
})

return `
// import { defineAsyncComponent } from 'vue';
${Object.entries(componentNames).map(([path, name]) => genImport(path, { name })).join('\n')}
export default ${genArrayFromRaw(routes)}`
},
Expand Down
1 change: 0 additions & 1 deletion src/modules/runtime/nuxt-link.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { ComputedRef, DefineComponent, PropType } from 'vue'
import { computed, defineComponent, h, ref, resolveComponent } from 'vue'
import { hasProtocol } from 'ufo'

import { useRouter } from '#app/composables/router'
Expand Down

0 comments on commit 9ef3047

Please sign in to comment.