• This project
    • Loading...
  • Sign in

Hooke / data-table

Itomix
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • data-table
  • src
  • store
  • test.js
  • hookehuyr's avatar
    fix · 19467245
    19467245
    hookehuyr authored 2023-02-10 16:45:17 +0800
test.js 148 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9
import { defineStore } from "pinia";

export const testStore = defineStore('test', {
  state: () => {
    return {
      list: ['abc']
    }
  }
})