poteto-dev / laravel-ui-stisla Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi. I install laravel, run composer install
, npm install
and composer require poteto-dev/laravel-ui-stisla --dev
.
Then I run php artisan ui stisla
.
I got Command "ui" is not defined.
Is there any other steps I missed? Thanks.
[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration.module.rules[9] should be one of these:
["..." | object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, reso
urceFragment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }, ...]
-> A rule.
Details:
* configuration.module.rules[0] has an unknown property 'loaders'. These properties are valid:
object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFr
agment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }
-> A rule description with conditions and effects for modules.
* configuration.module.rules[1] has an unknown property 'loaders'. These properties are valid:
object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFr
agment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }
-> A rule description with conditions and effects for modules.
* configuration.module.rules[5] has an unknown property 'loaders'. These properties are valid:
object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFr
agment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }
-> A rule description with conditions and effects for modules.
* configuration.module.rules[6] has an unknown property 'loaders'. These properties are valid:
object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFr
agment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }
-> A rule description with conditions and effects for modules.
* configuration.module.rules[7] has an unknown property 'loaders'. These properties are valid:
object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFr
agment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }
-> A rule description with conditions and effects for modules.
* configuration.module.rules[8] has an unknown property 'loaders'. These properties are valid:
object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFr
agment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }
-> A rule description with conditions and effects for modules.
* configuration.module.rules[9] has an unknown property 'loaders'. These properties are valid:
object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFr
agment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }
-> A rule description with conditions and effects for modules.
How to repair?
Please comment below, if you have any ideas for this package.
Hi! Based on the debug log, is it bug from this package or mine? Thank you
please remove margin-right for fix icon align center when compact navigation
source: resources/sass/theme/_layout.scss
line: 418
when i run composer require poteto-dev/laravel-ui-stisla --dev
, i get some error like this
composer require poteto-dev/laravel-ui-stisla --dev
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^0.1.7 for poteto-dev/laravel-ui-stisla
./composer.json has been updated
Running composer update poteto-dev/laravel-ui-stisla
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires poteto-dev/laravel-ui-stisla ^0.1.7 -> satisfiable by poteto-dev/laravel-ui-stisla[v0.1.7].
- poteto-dev/laravel-ui-stisla v0.1.7 requires illuminate/console ~5.8|^6.0|^7.0|^8.0 -> found illuminate/console[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
how to repair this?
Based on this article. When we cache all configuration use config:cache
command, env()
method will return null.
I found direct call to env()
method at blade file eg. skeleton.blade.php.
Can we replace env()
with config()
method ? or we have better reason why we need to stick with env()
?
calling php artisan ui:auth --views --force stisla
throw an exeption
Argument 1 passed to PotetoDev\LaravelUiStisla\StislaPreset::install() must be an instance of Laravel\Ui\UiCommand, instance of Laravel\Ui\AuthCommand given,
in fresh installed laravel 8.40.0
Hello, first of all thanks for this awesome preset of stisla for laravel. It really makes mine, as back-end developer, life easier. But I have an issue with sidebar. On every reload of the page it refreshes: when it's on small screen - mobile, pad, it pops out and then slides back in. And on the big screen it refreshes to, I mean auto slides out the sub-menus. I think it's all being done in toggleLayout function, just can't figure out how could I fix it. Thanks in advance
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.