Closed hurricanepkt closed 1 year ago
It looks like it's failing on the SSG build of useSWRV so I've just replaced it with our client.swr that's now built-in to @servicestack/vue
in this commit: https://github.com/NetCoreTemplates/vue-ssg/commit/e9e8931f647817ce18f818bf70169befcdee76bc
This issue should now be resolved in new vue-ssg
templates.
FYI I've added a nicer swrEffect
replacement in this commit https://github.com/NetCoreTemplates/vue-ssg/commit/fc6c45d1d27209a565db8fda10b7b8627b9c4cad which uses Vue's watchEffect
to detect property changes to simplify usage down to a wrist friendly syntax:
const api = client.swrEffect(() => new Hello({ name: props.name }))
Following commands and when it comes to :
cd ui && npm run build:local
Get error message :
Full Source code here : https://github.com/hurricanepkt/Lisa