Quantum-Flytrap / bra-ket-vue

⟨𝜑|𝜓⟩.vue - a Vue-based visualization of quantum states and operations

Home Page:https://codesandbox.io/s/bra-ket-vue-cydtt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with build process

stared opened this issue · comments

Well, the build process does not work.

The elements can be imported, but the data field is not accessible, resulting in errors for some elements (for TypeScript syntax for Vue.js, much nicer)

Though, it may be something different, as I now see - for ket it works (even with data). Strange.

image

ba4ab7d didn't work (to the point that the component does not work at all)

Next pointers:

And:

In general, vue-property-decorator seems to be a tricky choice. While I love its cleaner syntax:

  • it is not officially supported,
  • results in various errors here and there.

Also, it is possible that the issue was due to a generator having side effects (and, in fact, issues with linter for vue-property-decorator) than anything else.

image

In any case, solved by removing vue-property-decorator syntax - see #17 and in particular 79dec27. Now it works like a charm (also when built & imported):

image