Open mortoray opened 7 years ago
This is by design according to @Duckers
I'm reopening this since it makes it impossible to write self-contained components. There is no way you could package a component into a directory and have it work -- which is a critical requirement of components.
I'm not conceptually against relative paths, its just currently not trivial to implement.
I'm unable to use a relative name for the
Model
attribute. I have aComponents
directory with aColorSelector
in it. Then this UX:My
.unoproj
has**.js:FuseJS
so I'd expect the above to work.Trying
Model="./ColorSelector"
instead I get the errorExpected end of expression, found '.' at end of "
This blocks one from writing an isolated component.