Giter VIP home page Giter VIP logo

mf-blogstarter's Introduction

As I don't have enough time to maintain this repo, I've decided to archive it.

MF Blog Starter

See Netlify Demo

The child of eleventail and jamstack-web-starter raised by Marc Filleul.

This blog starter uses and is built with:

  • Eleventy for templates and site generation

  • Tailwindcss for a utility first CSS workflow

  • PostCSS set up to handle:

    • TailwindCSS
    • Autoprefixer
    • PurgeCSS to remove unused CSS
  • HTML minified in production

  • CSS inlined and minified in production

  • Scripts optimised for production

  • Document <head> crafted using htmlhead.dev

Support

If you want to thank me or support my work, you can buy me a coffee ๐Ÿ˜‰

Performances

GTmetrix

GTmetrix report

Google Measure

Lighthouse report

mf-blogstarter's People

Contributors

dependabot[bot] avatar gsferreira avatar marcfilleul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mf-blogstarter's Issues

License

Hi! Could you specify the License to this repository?

PurgeCSS does not seem to be running on build

The build section of .eleventy.js shows this:

    "build": "del-cli dist && eleventy && npm-run-all build:css build:html",
    "build:css": "cross-env NODE_ENV=production postcss src/_css/app.css -o src/_includes/css/style.min.css",
    "build:html": "cross-env ELEVENTY_ENV=production eleventy",

But when I run that I still end up with style.min.css at over 100,000 lines of CSS, which is the full TailwindCSS elements (1.7MB). PurgeCSS seems to be set up properly in postcss.config.js, but it's not firing. Any ideas as to why this is?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.