Skip to content

Commit

Permalink
tweaks to sample program
Browse files Browse the repository at this point in the history
  • Loading branch information
torenware committed Apr 25, 2022
1 parent 2f6535a commit 0a63f3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/sample-program/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion examples/sample-program/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a63f3a

Please sign in to comment.