@hummer/tenon-vue
TypeScript icon, indicating that this package has built-in type declarations

1.9.0 • Public • Published

Tenon Vue

Tenon Vue 是 Hummer Vue 的核心运行时,用于 Tenon Vue 项目中使用。

Tenon Vue 使用用例

// entry.js
import * as Tenon from '@hummer/tenon-vue';
import app from './app';

Tenon.render(app);
<template>
  <view class="page">
    <text class="slogan">{{slogan}}</text>
  </view>
</template>
<style lang="less" scoped>
  .page{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .slogan{
    font-size: 0.42rem;
  }
</style>

<script>

export default {
  pageConfig: {
    canScroll: false
  },
  data(){
    return {
      slogan: '~ Hello Tenon ~'
    }
  },
  methods: {
  }
}
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i @hummer/tenon-vue

Weekly Downloads

1

Version

1.9.0

License

ISC

Unpacked Size

2.37 MB

Total Files

82

Last publish

Collaborators

  • duanlikang
  • caoenze