mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
README update
This commit is contained in:
parent
9917d7e673
commit
9b94dcbe84
14
README.md
14
README.md
@ -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');"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user