Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cabloy/front-quasar

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cabloy/front-quasar

A vue3 quasar framework with ioc

  • 5.0.39
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-96.81%
Maintainers
1
Weekly downloads
 
Created
Source

@cabloy/front-quasar

@cabloy/front-quasar is a vue3 framework with ioc container. No ref/reactive, no ref.value, no pinia

LICENSE MIT NPM version NPM download

Documentation

Documentation can be found at https://front.cabloy.com.

Features

@cabloy/front-quasar has introduced the following distinct features for Vue3:

  • No ref/reactive: Because in most scenarios, there is no need to use ref and reactive
  • No ref.value: Because defining reactive variables in Cabloy-Front is more intuitive and no longer requires ref semantics
  • No pinia: Because Cabloy-Front provides an ioc container, which can more flexibly define and use global objects

Gif demonstration

No ref/reactive

Code style demonstration

1. Define reactive state

@Local()
export class MotherPageCounter extends BeanMotherPageBase {
  counter: number = 0;

  inrement() {
    this.counter++;
  }

  decrement() {
    this.counter--;
  }
}

2. Use reactive state

@Local()
export class RenderPageCounter extends BeanRenderBase {
  render() {
    return (
      <div>
        <div>counter(ref): {this.counter}</div>
        <button onClick={() => this.inrement()}>Inrement</button>
        <button onClick={() => this.decrement()}>Decrement</button>
      </div>
    );
  }
}

Stay In Touch

License

MIT

Copyright (c) 2016-present, zhennann

Keywords

FAQs

Package last updated on 14 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc