Git Product home page Git Product logo

Eleventy Starter

Use this starter template to create a new Eleventy project with the click of a button! For more information about this repo, you can read this series documenting its creation.

Out of the box, you should have:

  • Eleventy configured with reasonable defaults to build your pages
  • Sass support and some boilerplate SCSS
  • JavaScript and TypeScript support, including legacy bundles for older browsers
  • Minimal PWA requirements already met
  • A service worker with precaching and a cache-falling-back-to-network strategy in place
  • Linters for CSS, JS, and HTML
  • Support for JS tests
  • CI checks, PR templates, and dependabot configuration

Making the Project Your Own

Click this link to create a new repo. This will open a form for you to create a new repo with all of the files from this one.

Things to update:

  • package.json
    • name: change to the name of your site
    • author: change to your name
    • license: change if you want to use a different license
  • README.md (that's this file!): replace with info relevant to your site
  • icons
    • favicon.png
    • favicon.svg
    • maskable_icon.png
    • splash_icon.png
  • manifest.json
    • name: the full name of your site
    • short_name: an abbreviated/shortened version of your site's name
    • description: a description of your site
    • icons: update only if you changed the names or sizes of your icons
    • theme_color: change to a color that matches your site's color scheme
    • background_color: background color for the splash screen
  • robots.txt: update if you want to block certain robots/crawlers
  • Any placeholder pages, styles, scripts, or snippets that you won't need for your site

Getting Started

You will need Node.js installed, along with npm, and they should match the version range given in the engines field in package.json.

# install dependencies
npm install

# run the app
npm start

# build the site for production
npm run build

# run linters all at once
npm run lint

# or run linters individually
npm run lint:css
npm run lint:js
npm run lint:html

# run tests once
npm run test

# run tests in "watch" mode
npm run test -- --watch

# run tests and generate a coverage report
npm run test -- --coverage

# update any outdated npm dependencies
npm run update-deps

Jenna Hines's Projects

flexslider icon flexslider

An awesome, fully responsive jQuery slider plugin

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.