Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added pages template #62

Merged
merged 2 commits into from
Jun 1, 2023
Merged

added pages template #62

merged 2 commits into from
Jun 1, 2023

Conversation

AdjectiveAllison
Copy link
Contributor

What

Added pages and functions tinygo template for use with wrangler generate.

Motivation

Github issue to add template

I was unable to test yet due to being unsure how to test wrangler generate with an alternative branch or local template.
I also deleted go.mod and go.sum as go.mod referenced the old example module and the other templates did not have these. I'm unsure if this will affect the template or if it will affect go-chi being automatically installed.

@AdjectiveAllison
Copy link
Contributor Author

Also I left out main = "./build/worker.mjs" from the wrangler.toml. I assume the [[routes]].mjs file handles this.

Co-authored-by: syumai <syumai@gmail.com>
Copy link
Owner

@syumai syumai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@syumai syumai merged commit 0c1ce96 into syumai:main Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants