Skip to content

Commit 7c9bf71

Browse files
authored
Merge pull request #566 from matestack/doc-corrections
Doc corrections
2 parents 12d1d8f + 41434f0 commit 7c9bf71

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/custom-reactivity/custom-vue-js-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Vue.component('some-component', {
4646
};
4747
},
4848
mounted(){
49-
console.log(this.foo)
49+
console.log(this.props['foo'])
5050
}
5151
});
5252
```
@@ -60,7 +60,7 @@ The Vue.js JavaScript file needs to be imported by some kind of JavaScript packa
6060
For **Webpacker** it would look like this:
6161

6262
```javascript
63-
// app/javascript/packs/application.js
63+
// app/javascript/packs/application.js
6464
import MatestackUiCore from 'matestack-ui-core'
6565
import '../../../app/matestack/components/some_component'
6666
```

docs/getting-started/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ I've added a small demo showing you what you will be creating in this tutorial:
1111
_This guide utilizes the full power of Matestack and uses `matestack-ui-core` as a complete substitute for Rails views. If you only want to create UI components in pure Ruby on existing Rails views, please check out_ [_this guide_](../ui-in-pure-ruby/components/components-on-rails-views.md)
1212

1313
{% hint style="info" %}
14-
The code for this twitter-clone is available in [this repository](https://github.com/matestack/twitter-clone).
14+
The code for this twitter clone tutorial is available in [this repository](https://github.com/matestack/twitter-clone).
1515
{% endhint %}
1616

1717
### Setup

0 commit comments

Comments
 (0)