Visit Page
1
0
Fork
You've already forked pages
0
personal website
  • HTML 76.7%
  • JavaScript 16.6%
  • CSS 6.2%
  • Nunjucks 0.5%
2025年02月10日 15:16:40 -05:00
_site fix nav styles and player 2025年02月10日 15:16:40 -05:00
public update deps and add new entry 2024年12月12日 23:58:16 -05:00
src fix nav styles and player 2025年02月10日 15:16:40 -05:00
.gitignore test 2024年09月09日 01:39:07 -04:00
.pages.json test 2024年09月09日 01:39:07 -04:00
.phcode.json fix nav styles and player 2025年02月10日 15:16:40 -05:00
bun.lockb update deps and add new entry 2024年12月12日 23:58:16 -05:00
eleventy.config.js update deps and add new entry 2024年12月12日 23:58:16 -05:00
LICENSE test 2024年09月09日 01:39:07 -04:00
package.json update deps and add new entry 2024年12月12日 23:58:16 -05:00
README.md test 2024年09月09日 01:39:07 -04:00

eleventy-base-webc

A minimalist bare-bones Eleventy-official starter project useful for demos/experiments with WebC and the Eleventy site generator (using the v3.0 release).

Features

  • Eleventy WebC plugin preconfigured:
  • Using the new node front matter type for arbitrary JavaScript front matter (via node-retrieve-globals)
  • Simple WebC Eleventy Layout file with streamlined critical CSS and JS bundles (see _includes/layouts/base.webc)

Get Started

  1. Make a copy of this code with one of these on the command line (both install into the current folder):
  2. Install the dependencies by running npm install
  3. Run it with npm start (see the other commands in package.json or on the CLI docs)
  4. Navigate to http://localhost:8080 in your web browser.
  5. Edit content/index.webc to change content on the home page.

Demo