mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +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>'
|
|
})
|