How Dart fits into the normal WebApp directory layout structure

Following the recommended directory for Dart http://pub.dartlang.org/doc/package-layout.html I don’t see how it fits into a regular WebApp project ...

As you can see, I messed up a bit, but it seems to feel really right. Any clues?

Dir structure

[ Refresh ] Could this be a solution? It works here, at least for testing purposes ... Dir structure

+6
source share
1 answer

I tried to peacefully combine the mvc spring (- boot) project and the dart, and also failed. He never felt right or had problems when the dart was not being built or something like that.

The maven dart plugin did not seem to be ready for prime time, so I pulled the dart material into his own project, which is installed separately, and I only connect to the java backend using rest calls.

0
source

Source: https://habr.com/ru/post/944348/


All Articles