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
For this, we will have some code running in the user land. A repo integrated with mould may like this:
|
|--mould
|----.mould
|----initMould.js // do some extension
// initMould.jsimport{registerControl,registerComponent}from'mould'// maybe any other api designregisterControl(/* any control */)registerComponent(/* any component */)
We may met two problems:
We have two js/ts compiler in one repo, code standard can be incompatible.(initMould.js compare to other code files)
Next.js may not support compiling codes outside the root dir.
We have some modules that can be extend.
For this, we will have some code running in the user land. A repo integrated with mould may like this:
|
|--mould
|----.mould
|----initMould.js // do some extension
We may met two problems:
|--mould
|----initMould.js (file outside our next.js repo)
|--node_modules
|----mould (our next.js repo)
More further, we hope to reach that react and mould could call each other seamlessly. Need some ideas here.
The text was updated successfully, but these errors were encountered: