nxext / nx-extensions

Nx Extension for StencilJs, SvelteJS, SolidJS, Ionic and VueJs
MIT License
451 stars 100 forks source link

bug(stenciljs:lib): serve on stenciljs lib does not work as expected #256

Closed mburger81 closed 2 years ago

mburger81 commented 3 years ago

Describe the bug we have created an empty workspace with nx cli and added an stenciljs lib with nx g @nxext/stencil:lib my-lib --publishable --importPath=@abc/def

But running nx serve my-lib the lib is not served as expected, is there a way to run and debug the lib as we do on plane stencil cli?

running serve it is opening a page with the files in the dist folder image

DominikPieper commented 3 years ago

The easiest fix here is, add the 'www' target and an index.html. That should be all to work