3.0.2-beta.11 • Published 19 days ago

@hippy/vue-next v3.0.2-beta.11

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
19 days ago

@hippy/vue-next

Introduction

This package implements the logic of core runtime based on the custom renderer createRenderer provided by vue3, so no intrusive modifications are made to vue3 framework. Moreover, the whole project is implemented based on TypeScript. Through the type system of TypeScript, code can be better constrained and development quality can be improved.

Usage

// app.ts
import { defineComponent, ref } from 'vue';
import { type HippyApp, createApp } from '@hippy/vue-next';

// create hippy app instance
const app: HippyApp = createApp(defineComponent({
  setup() {
    const counter = ref(0);
    return {
      counter,
    }
  }
}), {
  appName: 'Demo',
});

// start hippy app
app.$start().then(({ superProps, rootViewId }) => {
  // mount hippy app and render to native 
  app.mount('#mount');
})

// extend custom nativeapis and components
declare module '@hippy/vue-next' {
  export interface NativeInterfaceMap {
    // custom nativeapis
  }
  export interface HippyGlobalEventHandlersEventMap {
    // events used by custom components 
  }
}

This is the simple usage. For more detail, please read the doc or try demo.

3.0.2-beta.11

19 days ago

3.0.2-beta.10

19 days ago

3.2.0-beta.1

21 days ago

3.0.2-beta.9

1 month ago

3.2.0-beta

1 month ago

2.17.3-beta

2 months ago

3.0.2-beta.8

2 months ago

3.0.2-beta.7

2 months ago

3.0.2-beta.6

2 months ago

3.0.2-beta.5

2 months ago

3.0.2-beta.4

3 months ago

3.0.2-beta.3

3 months ago

2.17.3

4 months ago

3.0.2-beta

9 months ago

3.0.0-alpha.19

10 months ago

3.0.1

9 months ago

2.16.5

10 months ago

2.17.2

9 months ago

2.17.0

9 months ago

2.17.1

9 months ago

3.0.0

10 months ago

3.0.2-beta.2

8 months ago

3.0.0-alpha.21

10 months ago

3.0.0-alpha.20

10 months ago

3.0.0-alpha.22

10 months ago

2.16.4

12 months ago

3.0.0-alpha.18

12 months ago

3.0.0-alpha.17

12 months ago

2.16.3

1 year ago

2.16.1

1 year ago

2.16.2

1 year ago

2.16.0

1 year ago

3.0.0-alpha.16

1 year ago

2.15.4

1 year ago

2.15.5

1 year ago

2.15.2

2 years ago

2.15.3

1 year ago

2.15.0

2 years ago

2.15.1

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago