Giter VIP home page Giter VIP logo

laravel-ui-stisla's Introduction

laravel-ui-stisla

Table of contents

Introduction

Laravel UI Stisla is Laravel custom dashboard UI that will be helpful for many applications.

Requirements

  • Composer
  • NPM

Installation

composer require poteto-dev/laravel-ui-stisla --dev

Usage

php artisan ui stisla

License

This package is under MIT License

laravel-ui-stisla's People

Contributors

aggunawan avatar amusfq avatar muhajirinlpu avatar mxsgx avatar rizkyyangpalsu avatar tjoosten avatar tm69 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-ui-stisla's Issues

Use config() instead of env() helper

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() ?

Failed install on laravel 9

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?

Use proper layout for auth

Instead of using app.blade.php on authentication, why don't we use the existing auth.blade.php layout?
image

Command "ui" is not defined

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.

auth command fail

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

Sidebar pops on every refresh of the page

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

Error

[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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.