Reputation: 2228
I have a question about Tapestry Component Programming. Can we have an another Component folder instead of the original one ?
If your reply is yes, How can you declare it (in the AppModule file ...) ?
Thanks
Upvotes: 1
Views: 168
Reputation: 1238
If you need this level of separation and you can't get it with subpackages, you may be better of creating a separate component library as a separate project. This would give you a few advantages:
That said, if you absolutely need to have components in a different package, see pstanton's answer.
Upvotes: 0
Reputation: 2910
You can create subpackages of the components package: .components.menu and then use or , for example. Having more than one root components package is something which I really can't see a good use for it. If you really want to do that, you can declare a new component library inside your application. Here's the documentation.
Upvotes: 2