-
Notifications
You must be signed in to change notification settings - Fork 558
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
Improve developer experience when starting a Vue app #3262
Comments
I think creating a single command to reduce all those steps on the developer's side is a really great idea Denis. Out of curiosity, why do we use |
this part should not be necessary as there is a postinstall script in the template that installs the ts-client dependencies for you: https://github.com/ignite/web/blob/develop/packages/vue-template/postinstall.js as far as the composables/vuex generation is concerned, I've opened a discussion in slack |
well we are generating a boilerplate vue app....and it was the only type we had so it kinda made sense... we will now have two (react and vue) so maybe something like: makes sense....but I think the shorthands ( |
@clockworkgr after running:
This is what I get: |
@scottcarterco we have commands to create a Vue template and a React template. We could call both directories |
@clockworkgr @scottcarterco I think we're talking about different things here. I think Scott meant having a command that would scaffold a Vue template and generate composables in one go. |
that's related to #3122 ....the postinstall script wortks fine
should work |
in part yes....see discussion in slack |
@fadeev @clockworkgr that is indeed what I meant as a means to provide devs a shortcut in the process since it's a common task path. Would be an optional shortcut if they want the "standard" outcome and they could also do it in the current way or with a flag on a revised single command to customize parts. |
While you're at it add a flag to disable the front end as well. For example, I already have a PWA app in a separate repository. I deleted the vue folder but it keeps coming back. Example:
|
@AndrewDonelson in the next version the CLI will actually not generate the Vue template by default and it will be up to the developer to decide if they want to go with Vue, React or no template at all. |
Closing this issue as we can possibly fix this by creating an ignite app. Also, users who want to scaffold a front end app, can do so simply by following this tutorial. |
Right now the following steps are required to get a working Vue template:
This is fine, more or less, but two of these steps are not obvious at all.
If we can't automate this, we should have a note telling users what to do.
We should also add a link to documentation here once we have the docs.
The text was updated successfully, but these errors were encountered: