From 3481a2ea7b92069a4518a90e09efece55543e03e Mon Sep 17 00:00:00 2001 From: curiosity26 Date: Tue, 13 Sep 2016 23:24:28 -0400 Subject: [PATCH] Correct and Update documentation --- Resources/doc/index.rst | 46 ++++++++++++++++++++++++++++++++++------- 1 file changed, 38 insertions(+), 8 deletions(-) diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index 3d25858..10e19df 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -28,20 +28,50 @@ Install the bundle the usual way: } .. +Dump The Assets +--------------- + +Symfony 2.x + +.. code-block:: bash + php app/console assetic:dump +.. + +Symfony 3.x + +.. code-block:: bash + php bin/console assetic:dump +.. + +Install the Assets +------------------ + +Symfony 2.x + +.. code-block:: bash + php app/console assets:install --symlink +.. + +Symfony 3.x + +.. code-block:: bash + php bin/console assets:install --symlink +.. + Wire-Up JavaScript ------------------ .. code-block:: twig {% block javascripts %} - - - - - + + + + + - + // ... The rest of your scripts here {% endblock %} @@ -52,7 +82,7 @@ Wire-Up Material Stylesheets .. code-block:: twig {% block stylesheets %} - + // ... Other stylesheets here {% endblock %} .. @@ -65,7 +95,7 @@ Wire-Up the Form Template twig: # ... form: - resources: ['@AngularMaterialBundle/Resources/Form/material_1_layout.html.twig'] + resources: ['@Curiosity26AngularMaterialBundle/Resources/Form/material_1_layout.html.twig'] .. Create Your Angular App