mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
Update README.md
This commit is contained in:
parent
6423e9b027
commit
089227b1b1
@ -28,7 +28,7 @@ Checkout files at /site/ folder for details
|
|||||||
+ /site/src/js/main.js (Your custom site-wide functionality)
|
+ /site/src/js/main.js (Your custom site-wide functionality)
|
||||||
+ /site/src/js/_events.js (Your custom site-wide events)
|
+ /site/src/js/_events.js (Your custom site-wide events)
|
||||||
+ /site/src/js/_pageType_and_component_template.js (A template which can be used to create new modules)
|
+ /site/src/js/_pageType_and_component_template.js (A template which can be used to create new modules)
|
||||||
+ /site/src/types/*.js (Extra page-specific modules to be autocompiled. My suggestion is to use *ClassName*.js and then Require it as at SilverStripe automatically)
|
+ /site/src/types/*.js (Extra page-specific modules to be autocompiled. My suggestion is to use *ClassName*.js and then require it at SilverStripe custom controller area)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -48,8 +48,11 @@ Checkout files at /site/ folder for details
|
|||||||
|
|
||||||
### Instalation:
|
### Instalation:
|
||||||
|
|
||||||
|
+ git clone https://github.com/a2nt/silverstripe-webpack.git
|
||||||
|
+ cd silverstripe-webpack
|
||||||
+ composer install
|
+ composer install
|
||||||
+ yarn install
|
+ yarn install
|
||||||
|
+ edit robots.txt, humans.txt, cache.appcache, manifest.json and package.json to setup your own project
|
||||||
|
|
||||||
### Commands:
|
### Commands:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user