@houdinigraphql/sv
v1.0.0
Published
sv add-on for @houdinigraphql/sv
Readme
sv community add-on: @houdinigraphql/sv
[!IMPORTANT] Svelte maintainers have not reviewed community add-ons for malicious code. Use at your discretion
Usage
To install the add-on, run:
npx sv add @houdinigraphqlYou will be prompted with some options to set up Houdini for your needs:
Options
is_remote_endpoint
Specify whether you will be utilising a remote endpoint. Accepts yes or no.
remote_endpoint
The URL of the remote endpoint where your API is hosted. Only applicable if you answered yes for is_remote_endpoint. Accepts a string.
local_schema
Path to where your local schema lives on disk. Only applicable if you answered no for is_remote_endpoint. Accepts a string.
Options shortcut
[!NOTE] The Svelte cli supports bypassing the interactive cli by passing the options directly:
npx sv add @houdinigraphql="is_remote_endpoint:yes"This will not work for the
remote_endpointoption, because the Svelte cli splits the parameters on the:character, which results in theremote_endpointonly gettinghttpsas value.
