Skip to content

Commit a215529

Browse files
committed
2 parents 838f305 + 27f26c3 commit a215529

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

docs/.vuepress/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module.exports = {
22
title: 'FeathersVuex',
33
description: 'Integration of FeathersJS, Vue, and Nuxt for the artisan developer',
4+
head: [['link', { rel: 'icon', href: '/favicon.ico' }]],
45
theme: 'default-prefers-color-scheme',
56
themeConfig: {
67
repo: 'feathersjs-ecosystem/feathers-vuex',
@@ -23,4 +24,4 @@ module.exports = {
2324
updatePopup: true
2425
}
2526
}
26-
}
27+
}

docs/.vuepress/public/favicon.ico

11.8 KB
Binary file not shown.

docs/feathers-vuex-form-wrapper.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,12 @@ The `FeathersVuexFormWrapper` component uses the "clone and commit" pattern to c
4646
</template>
4747
4848
<script>
49+
50+
import { FeathersVuexFormWrapper } from 'feathers-vuex'
51+
4952
export default {
5053
name: 'MyComponent',
54+
components: { FeathersVuexFormWrapper },
5155
props: {
5256
currentItem: {
5357
type: Object,
@@ -85,8 +89,12 @@ Here's another example of how you could use the form wrapper to both save the fo
8589
</template>
8690
8791
<script>
92+
93+
import { FeathersVuexFormWrapper } from 'feathers-vuex'
94+
8895
export default {
8996
name: 'MyComponent',
97+
components: { FeathersVuexFormWrapper },
9098
props: {
9199
currentItem: {
92100
type: Object,
@@ -117,4 +125,4 @@ The default slot contains only four attributes. The `clone` data can be passed
117125
- `clone`: {Object} The cloned record. Each record in the store can have a single clone. The clones are stored on the service's model class, by default.
118126
- `save`: {Function} When called, it commits the data and saves the record (with eager updating, by default. See the `eager` prop.) The save method calls `instance.save()`, internally, so you can pass a params object, if needed.
119127
- `reset`: {Function} When called, the clone data will be reset back to the data that is currently found in the store for the same record.
120-
- `remove`: {Function} When called, it removes the record from the API server and the Vuex store.
128+
- `remove`: {Function} When called, it removes the record from the API server and the Vuex store.

0 commit comments

Comments
 (0)