A Vue.js project template for integrating Google Cloud Pub/Sub with gRPC-web. Current version is 1.0.29, updated infrequently. It provides a scaffold for Vue CLI (v4+) projects to use grpc-web, google-protobuf, and Element-UI. Differentiates by offering a pre-configured setup for gRPC-web communication with Google Cloud Pub/Sub, simplifying the initial project creation and dependency management.
npm install gcloud-pub-vueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Steps to create a new Vue project with gcloud-pub-vue template, install gRPC-web, protobuf, and Element UI, then serve the project.
Uninstall vue-cli: npm uninstall -g vue-cli, then install @vue/cli: npm i -g @vue/cli
Specify exact version of grpc-web in package.json, e.g., "grpc-web": "1.2.1"
Use ES module imports: import { ... } from 'grpc-web' and import { ... } from 'google-protobuf'Run 'npm install grpc-web' in your project directory.
Uninstall vue-cli and install @vue/cli: npm uninstall -g vue-cli && npm i -g @vue/cli