-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
next init
as a separate module?
#531
Comments
How about a yeoman script? |
I haven't looked at that yet, but if it satisfies our need to support "flags", and it's well supported, easy to use, easy to get started with, it sounds like a winner! |
@rauchg it support tags and many more cool features. |
@rauchg i would love to be part of this project, should i create a draft? |
@ntwcklng you're absolutely welcome to. But as said above, it'd be interesting to compare pros/cons of |
Awesome!
With Yeoman you have to install 2 global dependencies. |
Could look like this: https://github.com/ntwcklng/next-new |
Any other opinions? I would love to see that thing in production 😄 |
@ntwcklng that looks pretty neat 😄 |
@rauchg @arunoda As we all know Segment made create-next-app (https://open.segment.com/create-next-app) which is pretty neat. Maybe we should remove |
I'm with @timneutkens, create-next-app it's awesome, it's integrated with |
@timneutkens I like that idea. Yeah send a PR :) |
Do you want to recommend |
Lets just log out a message that it's deprecated and you can use |
I'm interested in this issue. First of all, I love that using How about using vue-cli template system. Conceptually, It's very similar to yo/yeoman-generator but rather than simple and straight in terms of using templates. For example, supporting github repo directly. It make |
@ragingwind I like the idea 👍, though most people will just want to start off using one of the examples though, and create-next-app provides that. It also has a default similar to |
@timneutkens I see that the point of removing
|
@ragingwind it's currently the only Next.js generator out there, both ways, |
@timneutkens I understand that this issue good for beginner :0 I will show off the another generator |
@ragingwind 👍 💯 |
@timneutkens I've made a PoC version of next-init https://www.npmjs.com/package/next-init Please take a look |
I don't want
next init
to stagnate, be opinionated, etc. The solution is perhaps to remove it.How would you all feel about making
next init
an optional, installable command that comes from a different package?It would expose a global bin
next-init
. The cool thing about making it a separate module is that we can iterate on it independently, and add more features frequently.Some ideas for the future.
If anyone would be interested in leading this project, please let me know as well
Another discussion I'll open later is to take the same approach for compiling a next app into static files, via
next-export
.The text was updated successfully, but these errors were encountered: