So, I’m trying to create separate npm module which has all the generic components related to an app UI.
To create the module, I cloned the repo: https://github.com/eriklieben/skeleton-plugin-typescript. After that, I merged my stuff to the repo and installed the module in my aurelia app wich ended up fine. The app worked as before (when the source was inside the app) .
Now I’ve a problem.
I’m trying to import a class of the module from the App, but they aren’t available… (it says that the module is undefined)
What do I need to made them available?
Sorry, I’m a newbie in this “node, npm, etc…” stuff -.-’
I can highly recommend Dwayne’s great skeleton for a typescript based aurelia-plugin. I’ve written 3 plugins in the discourse of the last two weeks and it worked great so far.