mirror of https://github.com/4xmen/xshop.git
change readme
parent
b28eaeb578
commit
54bf95efe7
@ -1,2 +1,42 @@
|
|||||||
# xShop10
|
# xShop2
|
||||||
|
|
||||||
|
## make xcontroller
|
||||||
|
|
||||||
|
Controller with log and semi-automatic CURD with logs
|
||||||
|
User [`model`]
|
||||||
|
|
||||||
|
```bash
|
||||||
|
php artisan make:xcontroller User
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## make theme part
|
||||||
|
|
||||||
|
Theme part usable in area
|
||||||
|
PartName [`theme aprt name`]
|
||||||
|
|
||||||
|
segment [`group`, `category`, `preloader`, ...],
|
||||||
|
|
||||||
|
```bash
|
||||||
|
php artisan make:part PartName segmentName
|
||||||
|
```
|
||||||
|
|
||||||
|
## client optimize
|
||||||
|
Opimize client assets, `scss`,`js`,`css`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
php artisan client
|
||||||
|
```
|
||||||
|
### theme parts file
|
||||||
|
|
||||||
|
- PartName.php: `onCreate`, `onRemove`, `onMount` actions of theme part
|
||||||
|
- PartName.blade.php: your theme part blade code
|
||||||
|
- PartName.scss: your theme part scss
|
||||||
|
- PartName.js: your theme part javascript
|
||||||
|
- screenshot.png: screenshot preview of theme part
|
||||||
|
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
Developed With Love ! ❤️
|
||||||
|
</p>
|
||||||
|
Loading…
Reference in New Issue