Comments (4)
#50 has been done.
A template based on pages-function example is wanted.
from workers.
I'd love to do this but I'm unsure what the best approach would be to create a template.
Would it just be some manual file movement/changes into the templates directory? The Makefile would need to be updated to use the direct path to the asset gen and maybe something in wrangler.toml needs to be changed?
Could I help write something that moves your examples to templates automatically perhaps?
I'm looking to help contribute and am really glad I found this exists. Let me know if there is any issue that you'd like me to tackle first.
from workers.
Thank you for expressing your willingness to contribute.
For this task, there is no need to modify the core code of syumai/workers
.
The following tasks are expected:
- Create
_templates/cloudflare/pages-tinygo
- Move the contents of
_examples/pages-functions
to the above directory and simplify the content- For example, we would like to remove specific terms like
syumai
in/api/hello?name=syumai
.
- For example, we would like to remove specific terms like
- Adjust
wrangler.toml
,Makefile
andREADME.md
to have similar content asworker-tinygo
- We want it to work with the command
wrangler generate my-app syumai/workers/_templates/cloudflare/pages-tinygo
- Although the
wrangler generate
command has been deprecated in wrangler v3, there is no alternative yet, so it is still acceptable to continue using it.
- We want it to work with the command
If you can handle these changes, it would be greatly appreciated. Thank you for your comment.
from workers.
#62 resolved this issue.
from workers.
Related Issues (20)
- fetching a binary file returns a corrupted body HOT 1
- Fresh worker-go project not working HOT 5
- JavaScript error: The 'credentials' field on 'RequestInitializerDict' is not implemented." HOT 7
- Error deploying with Terraform
- Can fetch pkg support streaming? HOT 9
- Using "html/template" HOT 2
- Remove dependencies on Context
- Cache example doesn't cache when deployed to Cloudflare HOT 2
- Implement Email Handler
- Websocket support HOT 1
- connect() Socket API undefined HOT 11
- A HandlerFunc without writing a response body causes weird error
- Deadlock reading from R2 and writing to a ZIP writer HOT 8
- Cleanup D1 connector API
- Fix D1 driver implementation using `stmt.raw({ columnNames: true })`
- Add Deno Deploy support
- TinyGo don't support grpc-go! HOT 1
- rename workers-assets-gen command to workers-cli and add init command
- Support RPC Service Binding
- Db using your own SQLite sb
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workers.