rigor789 / nativescript-vue-next

MIT License
90 stars 7 forks source link

NativeScript-Vue 3.0 Design Doc #1

Open rigor789 opened 4 years ago

rigor789 commented 4 years ago

NativeScript-Vue Next

Project structure: monorepo using Yarn Workspaces.


         + ------------> ( @nativescript-vue/compiler )
         |
         +
( nativescript-vue )
         +
         |
         + ------------> ( @nativescript-vue/runtime )

Tooling to adopt:

Todos:

rigor789 commented 4 years ago

Idea: Let's implement wix/Detox tests for the built-in elements, where we automatically test they are working as intended. For example, the simplest ones would be:

There may be overlaps with things like Buttons, as they pretty much have the same tests as a Label, but that just makes our job easier.

I am thinking of making these into a custom .vue file that has the usual <template> <script> and an extra <tests> (or whatever makes sense for editors to propery highlight).

These would then be built by webpack into an app + a test suite dynamically.

Sample of my idea: https://github.com/rigor789/nativescript-vue-next/blob/master/tests/detox/Label.spec.vue