Skip to content

Commit

Permalink
fix error due to mix upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Monaye Win committed Aug 29, 2020
1 parent d2d4b9b commit fe4380b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js/field.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ module.exports = __webpack_require__(13);
/***/ (function(module, exports, __webpack_require__) {

Nova.booting(function (Vue, router, store) {
Vue.component("index-simple-link-button", __webpack_require__(3));
Vue.component("index-simple-link-button", __webpack_require__(3).default);
});

/***/ }),
Expand Down
2 changes: 1 addition & 1 deletion resources/js/field.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Nova.booting((Vue, router, store) => {
Vue.component("index-simple-link-button", require("./components/IndexField"));
Vue.component("index-simple-link-button", require("./components/IndexField").default);
});
3 changes: 3 additions & 0 deletions src/SimpleLinkButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,21 @@ public function attributes($attributes)
public function classes($classes)
{
$this->classes = $classes;

return $this;
}

public function style($style)
{
$this->style = $style;

return $this;
}

public function type($type)
{
$this->type = $type;

return $this;
}

Expand Down

0 comments on commit fe4380b

Please sign in to comment.