File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,22 @@ If you don't have the Symfony client installed, run `php bin/console server:run`
42
42
Alternatively, you can [ configure a web server] [ 3 ] like Nginx or Apache to run
43
43
the application.
44
44
45
+ Development
46
+ -----------
47
+
48
+ This project uses Yarn package manager for managing JavaScript dependencies along
49
+ with [ Webpack Encore] [ 5 ] library that helps working with CSS and JavaScript files
50
+ that are stored in ` assets/ ` directory . Every time you make any change in those
51
+ files - you will need to rebuild assets. For this, just execute:
52
+
53
+ ``` bash
54
+ $ yarn install
55
+ $ yarn build
56
+ ```
57
+
58
+ During the development, instead of ` yarn build ` you may want to run ` yarn watch ` which
59
+ will watch for any changes in ` assets/ ` and rebuild assets for you automatically.
60
+
45
61
Tests
46
62
-----
47
63
@@ -56,3 +72,4 @@ $ ./bin/phpunit
56
72
[ 2 ] : https://symfony.com/doc/current/reference/requirements.html
57
73
[ 3 ] : https://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html
58
74
[ 4 ] : https://symfony.com/download
75
+ [ 5 ] : https://github.com/symfony/webpack-encore
You can’t perform that action at this time.
0 commit comments