Registry / web-framework / isomor-vue-app

isomor-vue-app

JSON →
library2.7.1jsnpmunverified

isomor-vue-app is a library for isomor v2.x, an isomorphic framework that abstracts frontend-backend layers in a single TypeScript/JavaScript project. It generates communication layers automatically, replacing REST or GraphQL with direct function calls from frontend to server. This package provides Vue-specific integration (likely Vue 2) for isomor. The framework uses Babel transpilation to separate code. Released as part of isomor ecosystem, maintained by apiel.

npm install isomor-vue-app
INSTALL
IMPORT
SIG · ISOMOR-VUE-APP
I
isomor-vue-app
web-frameworkjavascriptv2.7.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

isomorVueApp
import isomorVueApp from 'isomor-vue-app'
const isomorVueApp = require('isomor-vue-app');
Package is ESM-only; CommonJS require will not work.
VueClient
import { VueClient } from 'isomor-vue-app'
import VueClient from 'isomor-vue-app';
VueClient is a named export. Default export is the plugin function.
VueServer
import { VueServer } from 'isomor-vue-app/server'
import VueServer from 'isomor-vue-app';
VueServer is a named export from a separate entry point for server-side code.

Initialize isomor-vue-app with a Vue 2 frontend, showing plugin setup and direct server function invocation.

// Install: npm install isomor @isomor/vue-app vue import Vue from 'vue'; import isomorVueApp from 'isomor-vue-app'; import { VueClient } from 'isomor-vue-app'; // Create a Vue plugin instance const vuePlugin = isomorVueApp({ api: 'http://localhost:3000/api' // Your API endpoint }); Vue.use(vuePlugin); new Vue({ render: h => h(App), created() { // Now you can call server functions directly // e.g., import { getUsers } from './server/users'; // getUsers().then(users => this.users = users); } }).$mount('#app');
Debug
Known issues
breakingisomor-vue-app requires isomor v2.x. isomor v1.x is not compatible.
fix
Upgrade isomor to v2.x.
affects: <2.0.0
deprecatedVue 2 support only. Vue 3 is not supported.
fix
Use a different library for Vue 3, or stay on Vue 2.
affects: >=2.0.0
gotchaDirect use of client and server modules in the same file is not allowed; isomor separates them at build time.
fix
Keep client and server code in separate files with appropriate imports.
affects: >=2.0.0
gotchaThis package only provides Vue integration; you must install isomor separately.
fix
Add isomor to your dependencies.
affects: >=2.0.0
Errors
Common errors & fixes
Module not found: Can't resolve 'isomor-vue-app'
Missing isomor-vue-app dependency or missing isomor peer dependency
fix
Run npm install isomor-vue-app isomor
Error: Cannot find module 'isomor'
Missing peer dependency isomor
fix
Run npm install isomor
TypeError: Vue.use is not a function
Vue is not imported or not installed correctly
fix
Ensure Vue is properly imported: import Vue from 'vue'
Upgrade
Version history
2.7.1latest on npm
Audit
Dependencies
isomorrequiredCore framework required for isomor-vue-app to work
vuerequiredPeer dependency for Vue integration
Agent activity
7 hits · last 30 days
node
6
Resources
isomor-vue-app — npm install isomor-vue-app · libregistry