-
-
Notifications
You must be signed in to change notification settings - Fork 177
Feature Set, Vue CLI and some general question #1
Comments
I created a sample jhipster project, redoing all components as Angular ones :
I should add my work on a fork to let you review it (of course, it's only a draft at the moment, and should be challenged). I'll do it asap. |
Sounds great. We are using a similar stack except VueX as we have quite small micro frontends so not much state management required. I would also go with plain javascript instead of typescript 👍 |
Here are my thoughts:
I also like @sahbi-ktifa ‘s setup. |
I like @sahbi-ktifa setup, it does cover most of our wanted features. Vue-CLI is a good option, but based on our experiences / discussions / opinions with Angular CLI and CRA. Let us not take that. 👍 for |
I agree with most of it and let's start with what @sahbi-ktifa has. Let's go with what is most used in the Vue community. I think its good to start with VueX as most of the real-world use cases would end up needing some state management. If Vue CLI is useful let's use it but we also need to ensure that the Vue support closely follows Angular/React as well to avoid defragmentation. Regarding TS vs JS, though I was not a fan of transpiling type systems, after using TS for almost a year I really like it (when used practically and not being a type nazi) its really helpful in code management/refactoring etc and I guess will help our community which is mainly back-end people. SO if possible I would like to stick to TS as we do the same for Angular and React. And as @sendilkumarn pointed out if Vue 3 is gonna focus on TS then as Hipsters we should start that already 😉 |
Here is quick read/benefits for using vue-cl version 3. |
In that case we could use Vue CLI with typescript |
I currently work on a Vue.js application integrated with JHipster as well. Here are the technologies we chose:
|
+1 so Vue CLI with typescript, jest and cypress and tslint it is. |
For e2e wouldnt it be easier to just use the protractor tests from the react client as I believe it can just work as it is without any major change |
I agree with @deepu105, if the couple vue+protractor is working, we should use protractor instead of cypress. |
Let's see how it works. I would suggest lets start and maybe give cypress a try as it is the preferred solution in the vue community, so if it works we don't need to maintain special configuration for protractor (writing tests is imho easiert) and we can rely on the power of the vue community and it might attract more vue developers to contribute (maybe). |
@atomfrede I was thinking of a quick win so that we can reuse the same templates from React instead of maintaining another set of templates. I was even thinking of moving all the e2e tests out and reusing the same for Angular and React since they are pretty much similar |
@deepu105 Yes makes totally sense. Maybe just let's get started and not too much thinking about what we use for e2e testing now and decide when we need to. There is much work we need to do before. |
I work currently with @hdurix on a JHipster and Vue.js project. We use all Vue.js features he said but also:
We don't use style on the project because we create a pattern library but in this library, we use the preprocessor Sass with The webpack configuration exists since August 1, 2018 and it's planned on Vue CLI. I think Sass is a good preprocessor but I think there could be an option to choose what we want like in Vue.cli. But if it's too complicated to add options on this part in a first version, I think it could be interesting to prefer Sass with SCSS syntax because it's CSS compatible. We also use stylelint in addition as a CSS linter with SCSS config recommendation scss-config-recommendation. About Cypress, I think it's really good because it's easy to use with response stubbing and protractor is not officially supported by Vue.js. Overall, I think Vue.js is currently used differently between the community and It will be better if JHipster let the ability to keep a flexible Vue.js environment. I think it could be really interesting to open Vue.js project in Vue CLI using |
@Gnuk thanks for the info. I think we shouldn't overcomplicate stuff. Lets stick to options that are available in JHipster to start with so the stack would be
|
First lets migrate the default monolith app to Vue so that the default options are supported to begin with. Once thats done we can start implementing additional options. Does everyone agree? If so we can create new tickets and decide who will do what. |
Except I don't know how it's difficult to have both Tslint and prettier (cf this issue), i agree with it. |
I agree too. |
I think your work should be good starting point. We can simply rename file
extensions first and should just work fine
…On Sun, 19 Aug 2018, 9:28 am Sahbi KTIFA, ***@***.***> wrote:
I agree too.
Should I still make my work available as a blueprint even if it's only a
start using JavaScript or should we rewrite it from scratch using
TypeScript and all the above? If so, I'll wait for tickets 😉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDlF0ps0ttgZ2hO3nE3PWj01zNskGcsks5uSROOgaJpZM4WCDEx>
.
|
@sahbi-ktifa I too agree that we will start with |
I totally agree with the stack proposed by @deepu105 - that way it is pretty close to what we already have with Angular and React, and we can hope to have some common code here. Besides, it's very important for our users, as they will be able to move from one stack to the other: that's one of our big selling points on the server side (for example, MongoDB and MySQL look really similar, so people can shift from one project to another easily), so I'd love to have the same on the client side. In order to help you here, I would like to open $500 in bug bounties in September -> if you can create 5 "feature requests" from the stack here, I will give them the $100 label next month. |
@jdubois thats a good idea. I'll create tickets and assign the label for the important parts at the beginning of September. Is that ok? |
Yes please do. |
There is a discussion to know how to have official Vue CLI documentation on integration with backend frameworks. I think we could participate to this discussion with the Vue.js community to help them or propose a standard documentation to have Vue CLI with Spring Boot like we'll do with this feature. What do you think about this suggestion ? |
@Gnuk yes, definitely +1 |
closing as its decided |
What do you think?
The text was updated successfully, but these errors were encountered: