Thomas Ward III
Thomas Ward III
Please fix this or fix the documentation
Do you have any errors in the JavaScript console?
I personally see this: ``` app.js?id=ee7f881e2d6e6e448a0e:110601 [Vue warn]: Property or method "generating" is not defined on the instance but referenced during render. Make sure that this property is reactive, either...
I see that the publish command is copying the .js file over to a directory that may not be part of what webpack imports. But even trying to add that...
This is very odd because in my file, I see: ``` /***/ "./resources/js/spark-components/settings/security/enable-two-factor-auth.js": /***/ (function(module, exports, __webpack_require__) { var base = __webpack_require__("./resources/assets/js/spark/settings/security/enable-two-factor-auth.js"); Vue.component('spark-enable-two-factor-auth', { mixins: [base] }); /***/ }), ```...
AHA! In the new file, the first line should be `module.exports = {` and not `Vue.component('spark-enable-two-factor-auth', {` and the last line should end with `};` and not `})`
~There are also issues with the endpoint, but this at least gets the UI working~ The endpoint suddenly started working. It may have been cached routes. But if you're using...
> You'll need to set the runtime global variable `__webpack_public_path__` to `ASSET_URL`. > > create a file called `public-path.js` that needs to be loaded before anything else in your app:...