moonshine-software / demo-project Goto Github PK
View Code? Open in Web Editor NEWMoonShine example demo project
Home Page: https://moonshine-laravel.com
MoonShine example demo project
Home Page: https://moonshine-laravel.com
Заметил, что у многих ресурсов в проекте у полей не указаны showOnExport() и useOnImport(), поэтому скачивается пустой файл.
Вопрос, что лучше сделать:
При выключенном режиме DEMO_MODE на странице профиля выбрасывается исключение "Route [profile.store] not defined".
Как я понимаю это сделано, чтобы в публичной версии демо проекта нельзя было редактировать профиль, но может как-то по другому это обыграть, чтобы в локальном копии проекта не получать эту ошибку?
route.index_route
Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames
`<x-moonshine::link-button :class="$class" :href="$href" :icon="$icon" :x-on:click.prevent="$xOnClickPrevent" >
{{ $slot ?? "" }}
</x-moonshine::link-button>`
DOCKER_USER=vbulash in .env.example
make demo-install
ends with the following error on Mac:
Error response from daemon: error while creating mount source path '/Users/vbulash/PhpstormProjects/moonshine-demo/docker/volumes/Nginx/logs': chown /Users/vbulash/PhpstormProjects/moonshine-demo/docker/volumes/Nginx/logs: permission denied
Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames
`<x-moonshine::link-button :class="$class" :href="$href" :icon="$icon" :x-on:click.prevent="$xOnClickPrevent" >
{{ $slot ?? "" }}
</x-moonshine::link-button>`
Attempted to lazy load [moonshineUserRole] on model [MoonShine\Permissions\Models\MoonshineUser] but lazy loading is disabled.
по ссылке http://127.0.0.1:8000/admin/resource/moon-shine-user-resource/index-page
добавил в MoonShineUserResource:
protected array $with = ['moonshineUserRole'];
ошибка исчезла
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.