File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ typings/
71
71
# Nuxt generate
72
72
dist
73
73
74
+ # Lambdas
75
+ lambdas-dist
76
+
74
77
# vuepress build output
75
78
.vuepress /dist
76
79
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ The Vue app is prerendered for improved SEO - you can learn more about server-si
15
15
$ yarn install
16
16
17
17
# serve with hot reload at localhost:3000
18
+ # serves netlify-lambda functions
18
19
$ yarn run dev
19
20
20
21
# build for production and launch server
Original file line number Diff line number Diff line change 1
- export function handler ( event , context , callback ) {
2
- console . log ( event )
1
+ exports . handler = function ( event , context , callback ) {
3
2
callback ( null , {
4
3
statusCode : 200 ,
5
- body : JSON . stringify ( { msg : " Hello from Netlify Lambda!" } )
4
+ body : ' Hello, World'
6
5
} )
7
6
}
You can’t perform that action at this time.
0 commit comments