Skip to content

Instantly share code, notes, and snippets.

@code-machina
Created August 31, 2019 07:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save code-machina/5f4393dcefd60aca09cd83ea45d3dbd3 to your computer and use it in GitHub Desktop.
Save code-machina/5f4393dcefd60aca09cd83ea45d3dbd3 to your computer and use it in GitHub Desktop.
코마의 featureful Table 샘플 (VUe.js)
<!--
filename: FeaturefulTableComp.vue
writer: code-machina
// IoC 컨테이너 용 설정
depends on: {
'scss': [
'@/static/scss/Table.scss',
// 생략
],
'js' : [
'@/utils/common.js',
]
}
usage:
<coma-table :caption="caption"
:unit-page="max_page"
// 생략
>
-->
<template>
<div class="wrapper">
<coma-table>
<!-- 생략 -->
</coma-table>
</div>
</template>
<script>
export default {
name: "coma-table",
props: {
caption: {
type: String,
default: "코마의 테이블"
},
// 생략
},
methods: {
pagination: () => { /* 생략*/ },
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment