mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-05 03:47:12 +00:00
8 lines
237 B
TypeScript
8 lines
237 B
TypeScript
|
/**
|
||
|
* mock the behavior of nuxt retrieving data from an api
|
||
|
*/
|
||
|
|
||
|
export default defineEventHandler(() => {
|
||
|
return '<div>Hello my name is : {{name}}, i am defined by ShowTemplate.vue and my template is retrieved from the API</div>'
|
||
|
})
|