Common code for different modules #4289
Unanswered
LuisVilaplana
asked this question in
General
Replies: 2 comments 1 reply
-
Currently my personal preference is to add classes and components as linked references. I have all my reusable code files off in another repository. |
Beta Was this translation helpful? Give feedback.
1 reply
-
You could also look at creating a "library" module (see #4192). The feature Shaun added to have these recognised in the framework will be in a future release, but the approach described in the accepted answer works well (this is what I am doing). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the best practice for creating common code for different modules in Oqtane? I am developing several modules that use the same models, how can I avoid repeating the declaration of those classes in each module? Can a Class Library be created and referenced in the Shared project of each module?
Beta Was this translation helpful? Give feedback.
All reactions