GithubHelp home page GithubHelp logo

ianrose / deventy Goto Github PK

View Code? Open in Web Editor NEW
175.0 1.0 27.0 565 KB

A minimal 11ty starting point for building static websites with modern tools.

License: MIT License

JavaScript 52.29% HTML 41.09% SCSS 6.62%
11ty eleventy static-site-generator webpack sass autoprefixer cssnano postcss

deventy's People

Contributors

ianrose avatar renovate[bot] 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

deventy's Issues

How do you have multiple pages?

Loving the repo so far but I have a question, I add an about.njk to the src folder but when I navigate to http://localhost:4000/about it ask me to select the index.html file. Am I missing something?

How to run node-sass in watch mode?

I tried adding -w option like this

@@ -9,11 +9,11 @@
     "eleventy:default": "npx eleventy",
     "eleventy:watch": "npx eleventy --watch",
     "styles:prod": "node-sass src/styles/ --output dist/styles/ && postcss ./dist/styles/*.css --replace",
-    "styles:dev": "node-sass src/styles/ --output dist/styles/ --source-map true --source-map-contents true && postcss ./dist/styles/*.css --replace",
+    "styles:dev": "node-sass src/styles/ -w --output dist/styles/ --source-map true --source-map-contents true && postcss ./dist/styles/*.css --replace",
     "scripts:prod": "webpack --mode=production",
     "scripts:dev": "webpack --mode=development",
     "serve": "light-server -c .lightserverrc",
-    "dev": "npm-run-all clean styles:dev scripts:dev eleventy:default --parallel eleventy:watch serve --print-label",
+    "dev": "npm-run-all clean scripts:dev eleventy:default --parallel styles:dev eleventy:watch serve --print-label",
     "dev:debug": "DEBUG=* npm run dev",
     "build": "run-s clean styles:prod scripts:prod eleventy:default --print-label"
  },

but the index.css file doesn't get generated in the first build

[styles:dev    ]
[styles:dev    ] > [email protected] styles:dev /Users/gianfranco/github/gianpaj/gian.blog
[styles:dev    ] > node-sass src/styles/ -w --output dist/styles/ --source-map true --source-map-contents true
[styles:dev    ]
$ ls -lah dist/styles
total 8
drwxr-xr-x   3 gianfranco  staff    96B Sep 28 01:38 .
drwxr-xr-x  10 gianfranco  staff   320B Sep 28 01:38 ..

Cache busting

Do you plan integrate some logic for assets revisioning?
Ideally solution which:

  • generate hashes for css and js files
  • generate hashes for images (in html and css too)
  • generate manifest file for mapping (for use case where 11ty is only templates generator)

Thanks!

Make this a template repo

Thank you for your work on this great starter! I have already started using it for my site and am loving it.

Is it possible for you to make this a template repo? It would make using this template a lot easier for people in the future! You can find out how to do that here if you're unsure. It's just a toggle in the settings.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency postcss-cli to v8.3.1
  • Update dependency webpack-cli to v4.10.0
  • Update dependency @11ty/eleventy to v2
  • Update dependency babel-loader to v9
  • Update dependency cssnano to v6
  • Update dependency cssnano-preset-advanced to v6
  • Update dependency node to v20
  • Update dependency postcss-cli to v11
  • Update dependency webpack-cli to v5
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • @11ty/eleventy ^0.11.0
  • @babel/core ^7.6.4
  • @babel/preset-env ^7.6.3
  • acorn ^8.0.0
  • autoprefixer ^10.0.0
  • babel-loader ^8.0.6
  • cssnano ^4.1.10
  • cssnano-preset-advanced ^4.0.7
  • node-sass ^5.0.0
  • npm-run-all ^4.1.5
  • postcss ^8.1.1
  • postcss-cli ^8.1.0
  • webpack ^5.1.3
  • webpack-cli ^4.0.0
  • light-server 2.9.1
nvm
.nvmrc
  • node 12

  • Check this box to trigger a request for Renovate to run again on this repository

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.