diff --git a/examples/sample-program/README.md b/examples/sample-program/README.md index 72adccf..18b82a5 100644 --- a/examples/sample-program/README.md +++ b/examples/sample-program/README.md @@ -49,6 +49,8 @@ Usage of ./test_program: relative path of the entry point of the js app. (default "src/main.js") -env string development|production (default "development") + -platform string + vue|react|svelte (default "vue") ``` You'll need to have the make utility and npm installed for the demo diff --git a/examples/sample-program/main.go b/examples/sample-program/main.go index 57a2fb7..f96b1a1 100644 --- a/examples/sample-program/main.go +++ b/examples/sample-program/main.go @@ -41,7 +41,7 @@ func main() { flag.StringVar(&environment, "env", "development", "development|production") flag.StringVar(&assets, "assets", "frontend", "location of javascript files. dist for production.") flag.StringVar(&jsEntryPoint, "entryp", "src/main.js", "relative path of the entry point of the js app.") - flag.StringVar(&platform, "platform", "vue", "target platform for JavaScript (vue|react|svelte") + flag.StringVar(&platform, "platform", "vue", "vue|react|svelte") flag.Parse() // We pass the file system with the built Vue