presentations/workshop-tailwind-css/slides/sections/task-1-add-tailwind-css.rst

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
788 B
ReStructuredText
Raw Normal View History

2021-02-11 18:03:37 +00:00
.. page:: titlePage
.. class:: centredtitle
Task 1: Adding Tailwind CSS
.. page:: standardPage
.. code-block:: bash
:include: code/adding-tailwind.txt
:end-before: -- adding tailwind
.. raw:: pdf
PageBreak
2021-02-11 18:03:37 +00:00
Create the source file:
|
.. code-block:: css
:include: code/adding-tailwind.txt
:start-after: -- adding tailwind
:end-before: -- adding scripts
.. raw:: pdf
PageBreak
2021-02-11 18:03:37 +00:00
Add to ``package.json``:
.. code-block:: js
:include: code/adding-tailwind.txt
:start-after: -- adding scripts
:end-before: -- adding the stylesheet
|
Add to ``templates/html.html.twig``:
.. code-block:: html
:include: code/adding-tailwind.txt
:start-after: -- adding the stylesheet
.. page:: imagePage
.. image:: images/1-end.png
:width: 22cm