mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +00:00
fix(docs): make examples link consistent
This commit is contained in:
parent
20cec3fe93
commit
558a7260aa
@ -506,9 +506,9 @@ An object or an array of objects with the following properties:
|
|||||||
#### Examples
|
#### Examples
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
|
// https://github.com/pi0/storyblok-nuxt
|
||||||
import { defineNuxtModule, addImports, createResolver } from '@nuxt/kit'
|
import { defineNuxtModule, addImports, createResolver } from '@nuxt/kit'
|
||||||
|
|
||||||
// creds: https://github.com/pi0/storyblok-nuxt
|
|
||||||
export default defineNuxtModule({
|
export default defineNuxtModule({
|
||||||
setup(options, nuxt) {
|
setup(options, nuxt) {
|
||||||
const names = [
|
const names = [
|
||||||
@ -557,9 +557,9 @@ Options to pass to the import. If `prepend` is set to `true`, the imports will b
|
|||||||
#### Examples
|
#### Examples
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
|
// https://github.com/vueuse/motion/tree/main/src/nuxt
|
||||||
import { defineNuxtModule, addImportsDir, createResolver } from '@nuxt/kit'
|
import { defineNuxtModule, addImportsDir, createResolver } from '@nuxt/kit'
|
||||||
|
|
||||||
// creds: https://github.com/vueuse/motion/tree/main/src/nuxt
|
|
||||||
export default defineNuxtModule<ModuleOptions>({
|
export default defineNuxtModule<ModuleOptions>({
|
||||||
meta: {
|
meta: {
|
||||||
name: '@vueuse/motion',
|
name: '@vueuse/motion',
|
||||||
@ -693,9 +693,9 @@ An object or an array of objects with the following properties:
|
|||||||
#### Examples
|
#### Examples
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
|
// https://github.com/elk-zone/elk
|
||||||
import { defineNuxtModule, addImportsSources } from '@nuxt/kit'
|
import { defineNuxtModule, addImportsSources } from '@nuxt/kit'
|
||||||
|
|
||||||
// creds: https://github.com/elk-zone/elk
|
|
||||||
export default defineNuxtModule({
|
export default defineNuxtModule({
|
||||||
setup() {
|
setup() {
|
||||||
// add imports from h3 to make them autoimported
|
// add imports from h3 to make them autoimported
|
||||||
|
Loading…
Reference in New Issue
Block a user