Issuance of the admin panel in the database , in the user table
In the line is the administrator on 1 and put the role in the chat on 3
All IDs chat role
0 - user
1 - youtube (spin is disabled)
2 - moderator (in the admin area has access to the creation of promo codes)
3 - administrator (full access)
Author of the drain @UnitedDead
After the issue, the admin panel will be available at http://сайт/admin
The CSS and JS sources are in /resources, and the compiled ones are in /public.
For compilation:
npm starts dev compilation in development mode
npm starts production - compilation for release to the server
npm run watch is the same as dev, but files are automatically recompiled when they are changed
webpack.mix.js contains information about compiled files.
It is already configured, it is enough to add file names to the array:
‘js’ -> resources/js -> public/js compilation .js
'sass' -> resources/sass -> public/css compilation .scss
‘copy’ -> resources/? -> public/? - copies the folder