
import { colTablecategories } from '@src/store/Modules/fieldsTable'

import { CImgText } from '../../../components/CImgText/index'

import { defineComponent } from 'vue'
import { CCard } from '@src/components/CCard'
import { CMyPage } from '@src/components/CMyPage'
import { CTitleBanner } from '@src/components/CTitleBanner'
import { CGridTableRec } from '@src/components/CGridTableRec'

import MixinMetaTags from '../../../mixins/mixin-metatags'

export default defineComponent({
  name: 'CategoriesPage',
  components: { CImgText, CCard, CMyPage, CTitleBanner, CGridTableRec },
  setup() {
    const pagination = {
      sortBy: 'name',
      descending: false,
      page: 2,
      rowsPerPage: 5
      // rowsNumber: xx if getting data from a server
    }

    const { setmeta } = MixinMetaTags()

    return {
      colTablecategories,
      setmeta,
    }
  }

})
