You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a monorepo setup as follows:
|- plugin-test (Aurelia Plugin project, built with au new --plugin)
|- app-test (Aurelia app project, build with au new)
I used npm (with a symlinked file version) to install the plugin-test plugin into the app-test app. The sample attributes, binding-behaviors, and value-converters all work fine in the app-test app. However, the <hello-world></hello-world> element does not render.
Expected/desired behavior:
I expected the <hello-world></hello-world> element to work. I also tried using the @inlineView, @useView and @useView(PLATFORM.moduleName("...")) decorators (and then rebuilding the plugin library with au build-plugin), but that did not seem to help.
This issue seems related to #164, but I have had no success with the suggestions there. It looks like I should ideally be using @fromView in my plugin library for custom elements, but that did not seem to work for me.
The text was updated successfully, but these errors were encountered:
Is the above a supported configuration with webpack-plugin? #164 (comment) seems to suggest to use the cli-bundler for the view resources to resolve properly.
I'm submitting a bug report
4.0.0
Please tell us about your environment:
Operating System:
Windows 10
Node Version:
10.17.0
NPM Version:
6.11.3
Webpack Version
webpack 4.43.0
Browser:
all
Language:
TypeScript 3.8.3
Current behavior:
I have a monorepo setup as follows:
|- plugin-test (Aurelia Plugin project, built with
au new --plugin
)|- app-test (Aurelia app project, build with
au new
)I used npm (with a symlinked file version) to install the plugin-test plugin into the app-test app. The sample attributes, binding-behaviors, and value-converters all work fine in the app-test app. However, the
<hello-world></hello-world>
element does not render.Expected/desired behavior:
I expected the
<hello-world></hello-world>
element to work. I also tried using the@inlineView
,@useView
and@useView(PLATFORM.moduleName("..."))
decorators (and then rebuilding the plugin library withau build-plugin
), but that did not seem to help.I created a reproduction here: https://github.com/alexisszabo/aurelia-plugin-element-issue
This issue seems related to #164, but I have had no success with the suggestions there. It looks like I should ideally be using
@fromView
in my plugin library for custom elements, but that did not seem to work for me.The text was updated successfully, but these errors were encountered: