Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: グリッドコンポーネントの日本語化 #77

Merged
merged 1 commit into from
Feb 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions sample-grid-component/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ export default {
},
setup() {
const searchQuery = ref('')
const gridColumns = ref(['name', 'power'])
const gridColumns = ref(['名前', '戦闘力'])
const gridData = ref([
{name: 'Chuck Norris', power: Infinity},
{name: 'Bruce Lee', power: 9000},
{name: 'Jackie Chan', power: 7000},
{name: 'Jet Li', power: 8000}
{名前: 'チャック・ノリス', 戦闘力: Infinity},
{名前: 'ブルース・リー', 戦闘力: 9000},
{名前: 'ジャッキー・チェン', 戦闘力: 7000},
{名前: 'ジェット・リー', 戦闘力: 8000}
])
return {
searchQuery,
Expand All @@ -26,7 +26,7 @@ export default {

<template>
<form id="search">
Search
検索
<input name="query" v-model="searchQuery" />
</form>
<DemoGrid :heroes="gridData" :columns="gridColumns" :filter-key="searchQuery" />
Expand Down