@sakana-y/vue-grab-cli
v0.1.2
Published
CLI setup tool for adding Vue Grab to Vite and Vue projects.
Downloads
379
Maintainers
Readme
Vue Grab CLI
CLI setup tool for adding Vue Grab to Vite and Vue projects.
vue-grab init installs @sakana-y/vue-grab, wires the Vue runtime plugin into your app entry, and adds the Vite editor companion plugin when it can safely update your project.
Usage
npx @sakana-y/vue-grab-cli initPreview the planned changes without editing files:
npx @sakana-y/vue-grab-cli init --dry-runRun non-interactively:
npx @sakana-y/vue-grab-cli init --yesSkip dependency installation when you want to manage dependencies yourself:
npx @sakana-y/vue-grab-cli init --skip-installWhat It Does
- Detects the package manager from lockfiles.
- Adds
@sakana-y/vue-grabas a development dependency. - Updates the Vue app entry to install
createVueGrab(). - Updates Vite config to use
vueGrabPlugin()from@sakana-y/vue-grab/vite. - Avoids duplicate setup when Vue Grab is already configured.
- Supports dry-run output before any file edits.
Supported Package Managers
- pnpm
- npm
- yarn
- bun
Related Packages
@sakana-y/vue-grab: Vue plugin, runtime APIs, and Vite integration.@sakana-y/vue-grab-shared: Shared types, defaults, config merging, and protocol constants.
Links
- Repository: https://github.com/SaKaNa-Y/vue-grab
- Issues: https://github.com/SaKaNa-Y/vue-grab/issues
- Changelog: ./CHANGELOG.md
- License: ./LICENSE
