Skip to content
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

How to create new Project using VoK framework #14

Closed
NiranjanShah opened this issue Mar 1, 2018 · 7 comments
Closed

How to create new Project using VoK framework #14

NiranjanShah opened this issue Mar 1, 2018 · 7 comments
Assignees

Comments

@NiranjanShah
Copy link

Documentation/steps to import the VoK framework in Intenllij for new Project.

Documentation must show the steps to be used to create a new project from the scratch and importing all the files required to start a new project right from the scratch

@mvysny mvysny self-assigned this Mar 1, 2018
@mvysny
Copy link
Owner

mvysny commented Mar 1, 2018

Since a typical VoK project has lots of files (migrations, views, bootstrap etc), it makes sense to have an archetype app - one that you can download or git-clone and start from that. Such an app is present here: https://github.com/mvysny/vok-helloword-app

I will add this information to the http://vaadinonkotlin.com home page. I will also create a full description of all files in the app, so that the user will know what to keep, what to modify and what to remove.

@NiranjanShah
Copy link
Author

NiranjanShah commented Mar 1, 2018 via email

@mvysny
Copy link
Owner

mvysny commented Mar 1, 2018

If you're starting with Flow, then please try out https://github.com/mvysny/beverage-buddy-vok/ - I will document that as well.

@NiranjanShah
Copy link
Author

NiranjanShah commented Mar 1, 2018 via email

@mvysny
Copy link
Owner

mvysny commented Mar 1, 2018

Uh-oh. WelcomeView.kt uses Vaadin 8, which is totally incompatible with Vaadin 10. Vaadin 10 is a complete rewrite of the Vaadin framework; only a few concepts of Vaadin 8 are applicable to Vaadin 10 apps. You can't paste Vaadin 8 code into Vaadin 10 project and vice versa - such compatibility layer is not available as of now.

You will need to decide whether you want to use Vaadin 8 or Vaadin 10; according to that decision you should either start with https://github.com/mvysny/vok-helloword-app (Vaadin 8) or the Beverage Buddy (Vaadin 10).

@NiranjanShah
Copy link
Author

NiranjanShah commented Mar 1, 2018 via email

@mvysny
Copy link
Owner

mvysny commented Mar 1, 2018

The migration path from Vaadin 8 to Vaadin 10 is still unclear. We will have to wait until Vaadin 10 is actually released (it's still in alpha state and not yet released); then I'm sure that a documentation related to migration will be eventually published.

Since the VoK documentation has been updated, I'll close this bug report. Please feel free to ask further questions at https://vaadin.com/forum/#!/category/1007558 , even Vaadin-on-Kotlin related ones. I will now monitor the forums for such questions.

@mvysny mvysny closed this as completed Mar 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants