15/04/2020 - PUG ROVIGO
Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
mkdir my-site
composer require tightenco/jigsaw
./vendor/bin/jigsaw init blog
./vendor/bin/jigsaw init docs
./vendor/bin/jigsaw init
./vendor/bin/jigsaw build
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
(nel nostro caso GitHub Actions)
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
They come with all sorts of predesigned components like buttons, cards, and alerts that might help you move quickly at first, but cause more pain than they cure when it comes time to make your site stand out with a custom design.
Tailwind is different.
Instead of opinionated predesigned components, Tailwind provides low-level utility classes that let you build completely custom designs without ever leaving your HTML.
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
npm init -y
npm install tailwindcss
npm install postcss-cli autoprefixer
npx tailwind init
# .. CONFIG ..
postcss css/tailwind.css -o public/build/tailwind.css
// tailwind.config.js
module.exports = {
theme: {},
variants: {},
plugins: [],
}
// postcss.config.js
module.exports = {
plugins: [
// ...
require('tailwindcss'),
require('autoprefixer'),
// ...
]
}
// css/tailwind.css
@tailwind base;
@tailwind components;
@tailwind utilities;
Toolchain: node
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
<div class="md:flex">
<div class="md:flex-shrink-0">
<img class="rounded-lg md:w-56" src="..IMG.." alt="Woman paying for a purchase">
</div>
<div class="mt-4 md:mt-0 md:ml-6">
<div class="uppercase tracking-wide text-sm text-indigo-600 font-bold">Marketing</div>
<a href="#" class="block mt-1 text-lg leading-tight
font-semibold text-gray-900 hover:underline">
Finding customers for your new business
</a>
<p class="mt-2 text-gray-600">
..TEXT..
</p>
</div>
</div>
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
Static Content Generators
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
https://dev.to/integridsolutions/best-static-site-generator-to-use-in-2020-4kjk
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
Generalmente integrati con un Framework specifico
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
15/04/2020 - PUG ROVIGO - Alessandro Cappellozza
https://rovigo.grusp.org
https://grusp.org