@cznethub/cznet-vue-core

5,224
Install
npm install @cznethub/cznet-vue-core
Latest Version:0.4.0
Vue:3
Older releases:2
License:ISC
Last Updated:Oct 20, 2026
Links: GitHub  ·  npm
Maintainer: maurier

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Getting started

In your theme file, import the cznet-vue-core styles.

theme.scss

@use '@cznethub/cznet-vue-core/styles';

your-component.vue

...
<cz-form
   :schema="schema"
   :uischema="uischema"
   v-model="data"
   :errors.sync="errors"
   @update:errors="onUpdateErrors"
   :isValid.sync="isValid"
   :config="config"
   ref="form"
 />
...
import type { IFile, IFolder } from '@cznethub/cznet-vue-core/dist/types'   // For type annotation
import { CzFileExplorer, CzForm, Notifications } from '@cznethub/cznet-vue-core'

data = {};
errors: { title: string; message: string }[] = [];
isValid = false;
config = {
    restrict: true,
    trim: false,
    showUnfocusedDescription: false,
    hideRequiredAsterisk: false,
    collapseNewItems: false,
    breakHorizontal: false,
    initCollapsed: false,
    hideAvatar: false,
    hideArraySummaryValidation: false,
    vuetify: {
      commonAttrs: {
        density: 'compact',
        variant: 'outlined',
        'persistent-hint': true,
        'hide-details': false,
      },
    },
    isViewMode: false,
    isReadOnly: false,
    isDisabled: false,
  };

  onUpdateErrors(errors: { title: string; message: string }[]) {
    this.errors = errors;
  }

App.vue

...
<cz-notifications />
...

import { CzNotifications, Notifications } from '@cznethub/cznet-vue-core'

openDialog() {
 Notifications.openDialog({
   title: `Dialog Title`,
   content: 'Some message for the dialog',
   onConfirm: () => {},
 });
}

toast() {
 Notifications.toast({ message: 'Some toasty message', type: 'success' });
}

Related Packages

@jsonforms/vue-vuetify

Vue Vuetify renderers for JSON Forms

120,200 2,750
@jsonforms/vue

Vue 3 module of JSON Forms

1,739,837 2,752
@pvale/vue-vuetify

Vue Vuetify renderers for JSON Forms

1,429 29
@jsonforms/vue-vanilla

Vue 3 Vanilla renderers for JSON Forms

1,508,744 2,752

Version History

Version Released Vue License
0.4.0 ^3.4.21 ISC
0.3.0 ^3.4.21 ISC
0.2.42 ^3.4.21 ISC
0.2.41 ^3.4.21 ISC
0.2.40 ^3.4.21 ISC