Extracting one feature #134
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is no compatibility between this project and the CLI create command and there is not any intention at the moment to create any. If you wanted to single out a feature you can clone the repository and remove all the other features from the '/src/features-library' folder, then remove the references from the '/src/flex-hooks' folder and the associated functions from the 'serverless-functions/src/functions/features' folder (recommended and easiest) Alternatively you can cherry pick any out the feature folder into your own plugin and call on each of the hooks listed under the '/src/feature-library//flex-hooks' and the associated serverless functions. This may also include the common serverless functions and the common serverless utilities in the plugin '/src/utils/serverless/' (this may be a little more time consuming to make sure all dependencies are brought over but would result in only the code you need) |
Beta Was this translation helpful? Give feedback.
There is no compatibility between this project and the CLI create command and there is not any intention at the moment to create any.
If you wanted to single out a feature you can clone the repository and remove all the other features from the '/src/features-library' folder, then remove the references from the '/src/flex-hooks' folder and the associated functions from the 'serverless-functions/src/functions/features' folder (recommended and easiest)
Alternatively you can cherry pick any out the feature folder into your own plugin and call on each of the hooks listed under the '/src/feature-library//flex-hooks' and the associated serverless functions. This may also include the common serve…