grozzzny/start_project_b3_less

My default project for Yii2

dev-master 2021-10-22 16:30 UTC

This package is auto-updated.

Last update: 2024-10-22 23:05:00 UTC


README

Install project

composer create-project --prefer-dist --stability=dev grozzzny/start_project_b3_less www dev-master

Run migrations

php yii migrate

Create user

yii user/create <email> <username> [password] [administrator]

Admin panel and settings user

https://my-site.com/user/admin
https://my-site.com/admin

Modules, components and widgets

Style / less structure

  • base
    • _base.less
    • _fonts.less
    • _variables.less
  • bootstrap
    • _mixins.less
    • _variables.less
    • bootstrap.less
  • fonts
  • layout
    • _footer.less
    • _header.less
  • pages
  • partials
  • sections styles.less
@charset "UTF-8";

//Base
@import "base/_fonts.less";
@import "base/_variables.less";
@import "base/_base";

//Sections
//@import "sections/_tournaments";

//Layouts
//@import "layout/_header";

//Partials
//@import "partials/_nav-lang";

//Pages
//@import "pages/_about.less";