From ebd3ea3266c1037f852fe64e54bfe52af443bde8 Mon Sep 17 00:00:00 2001 From: Ben Surgison Date: Thu, 16 Nov 2023 16:17:11 +0000 Subject: [PATCH] Add default functions file for convenience --- prototype-starter/app/functions.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 prototype-starter/app/functions.js diff --git a/prototype-starter/app/functions.js b/prototype-starter/app/functions.js new file mode 100644 index 0000000000..fe886b68ac --- /dev/null +++ b/prototype-starter/app/functions.js @@ -0,0 +1,9 @@ +// +// For guidance on how to create functions see: +// https://prototype-kit.service.gov.uk/docs/functions +// + +const govukPrototypeKit = require('govuk-prototype-kit') +const addFunction = govukPrototypeKit.views.addFunction + +// Add your functions here