Home / Companies / Ionic / Blog / Post Details
Content Deep Dive

Monorepos with Ionic, Vue, and npm

Blog post from Ionic

Post Details
Company
Date Published
Author
Mike Hartington
Word Count
1,211
Language
English
Hacker News Points
-
Summary

The blog post discusses the use of npm workspaces to set up a monorepo environment, particularly using Ionic and Vue, highlighting npm's role in managing dependencies and its recent adoption for monorepos with the release of npm 7.0. Despite its simplicity and lack of features compared to alternatives like Lerna or Yarn, npm workspaces provide a built-in solution that could benefit teams looking for more control. The article guides the reader through creating a monorepo setup that includes an Ionic Vue app and a utility package for Vue hooks, demonstrating how to configure npm workspaces, manage dependencies, and integrate components across projects. It acknowledges npm's entry into the monorepo space and anticipates future developments, suggesting that this approach may suit teams interested in customizing their monorepo infrastructure.