README update

This commit is contained in:
Tony Air 2019-10-20 08:36:23 +07:00
parent 9917d7e673
commit 9b94dcbe84
2 changed files with 14 additions and 8 deletions

View File

@ -34,6 +34,20 @@ Those steps depends on your environment:
+ edit .env, robots.txt, humans.txt, cache.appcache, manifest.json and package.json to setup your own project
+ copy favicon.ico after `yarn build` to ./public folder
### Building your custom UI
Edit following files:
+ app/client/src/js/_layout.js
+ app/client/src/js/types/*Your_Custom_ClassName*.js
+ app/client/src/scss/_layout.scss
+ app/client/src/scss/types/*Your_Custom_ClassName*.scss
To compile use: yarn build
To start dev-server use: yarn start
## Installing composer at some cpanel hostings
```
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"

View File

@ -17,14 +17,6 @@ const LayoutUI = (($) => {
const NAME = 'LayoutUI';
const datepickerOptions = {
autoclose: true,
startDate: 0,
//todayBtn: true,
todayHighlight: true,
clearBtn: true,
};
class LayoutUI {
static init() {
const ui = this;