First off, thank you for considering contributing to Tefact. It's people like you that make Tefact such a great tool.
[source: Active Admin]
Need more inspiration?
[1] Read The README
[2] VUE.js
[3] ElementUI
Vue Components
<template>
<div>
</div>
</template>
<style lang="scss" scoped>
</style>
<script lang="ts">
import { Vue, Component } from 'nuxt-property-decorator'
@Component
export default class AppItem extends Vue {
}
</script>
File Template
import { ComponentClass } from 'react'
import Taro from '@tarojs/taro'
import { connect } from '@tarojs/redux'
import { View } from '@tarojs/components'
import AppPageLayout from '../../../layout/AppPageLayout'
type PageStateProps = {}
type PageDispatchProps = {}
type PageOwnProps = {}
type PageState = {}
type IProps = PageStateProps & PageDispatchProps & PageOwnProps
interface Index {
props: IProps
state: PageState
}
@connect(() => ({
}),
(dispatch) => ({
}),
)
class Index extends Taro.PureComponent {
public render() {
return (<AppPageLayout>
<View />
</AppPageLayout>)
}
}
export default Index as ComponentClass<PageOwnProps, PageState>