-
Notifications
You must be signed in to change notification settings - Fork 673
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
wrangler init should populate example code #355
Comments
Instead of asking |
I'd like to push back on this, it'll become extremely complicated to keep adding features here. But this is what we were planning on doing with create-worker-app, and we should design and plan that separately. |
Both great points. I do like the idea that we can just guide folks to My only qualm is leaving |
I like the idea of an entry point. Ok let's try something and see how it feels. |
We got feedback that `wrangler init` felt incomplete, because the immediate next thing folks need is a starter source file. So this adds another step to `wrangler init` where we offer to create that file for you. Fixes #355
We got feedback that `wrangler init` felt incomplete, because the immediate next thing folks need is a starter source file. So this adds another step to `wrangler init` where we offer to create that file for you. Fixes #355
We got feedback that `wrangler init` felt incomplete, because the immediate next thing folks need is a starter source file. So this adds another step to `wrangler init` where we offer to create that file for you. Fixes #355
We got feedback that `wrangler init` felt incomplete, because the immediate next thing folks need is a starter source file. So this adds another step to `wrangler init` where we offer to create that file for you. Fixes #355
We got feedback that `wrangler init` felt incomplete, because the immediate next thing folks need is a starter source file. So this adds another step to `wrangler init` where we offer to create that file for you. Fixes #355
We got feedback that `wrangler init` felt incomplete, because the immediate next thing folks need is a starter source file. So this adds another step to `wrangler init` where we offer to create that file for you. Fixes #355
After running
wrangler init
, no example code is provided (index.js
orindex.ts
depending if they asked for TypeScript or not). It should populate a basic starter file. In the future, we can make this more complex by introducing different templates to choose from.src/index.ts
:src/index.js
:Also, should probably have a comment that links to the reference documentation?
The text was updated successfully, but these errors were encountered: