canvas: Artisan file missing (Could not open input file: artisan)
I’m not deathly familiar with Laravel, but it seems like composer require austintoddj/canvas
Doesn’t seem to supply any artisan file anywhere. The same applies to the various other composer commands I’ve found. (I.E. composer create-project --prefer-dist austintoddj/canvas blog
)
I’m unsure if I’m missing something that is usually a given with deploying Laravel projects or if there’s something not working correctly.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 26 (13 by maintainers)
To do that, you’ll need to update a few things.
Assuming you’re starting from a new Laravel app, remove any existing routes in
web.php
and put these in their place:Change line 48 of
js/canvas-ui/routes.js
from:to this:
Change line 25 of
js/canvas-ui/mixins/base.js
from this:to this:
Then, re-compile the assets:
Scratch that, I was able to find the path to canvas UI in the web.php file. It seems to work great!