presentations/taking-flight-with-tailwind-css/sections/installation.rst

30 lines
623 B
ReStructuredText

.. page:: titlePage
.. class:: centredtitle
Installation and Usage
.. page::
.. class:: centredtitle
``npm install --save-dev
tailwindcss``
.. raw:: pdf
TextAnnotation "There is a CDN version available that provides everything but you can't customise it."
TextAnnotation "There's also the play.tailwindcss.com website that you can use."
TextAnnotation "Adds it as a dependency to your package.json file"
.. page::
.. class:: centredtitle
``npx tailwind
--content **/*.html
--output build/tailwind.css``
.. raw:: pdf
TextAnnotation "tailwind.config.js is optional, and an input file is optional."