'Should @vue/composition-api be added in devDepencies

Should I install @vue/composition-api in package.json dependencies rather than in devDependencies?

I see on npm registry that it is in dependencies



Solution 1:[1]

Following the logic of vue-property-decorator or vue-class-component, this are installed as dependencies.

I would say this is actual dependency for your project once is build, so it is not a dev dependency.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Duarte Godinho