Write a .js file to be read in by index.html. It defines a JS object called props that can be filled with any R object convertible into JSON.

write_dev_props(path, props)

Arguments

path

:: String, File path to the svelte-app publish directory. e.g. "svelte-app/docs" or "svelte-app/public"

props

:: Any, Any R object convertible into JSON to pass to the app

Value