1.0.6 • Published 3 years ago

@11ty/eleventy-assets v1.0.6

Weekly downloads
500
License
MIT
Repository
github
Last release
3 years ago

Eleventy Assets

⚠️ Work in progress!!

Code to help manage assets in your Eleventy project. This is not an addPlugin compatible Eleventy plugin. It is an npm package for use in your config or other plugins.

Currently supported features:

  • Generate and inline code-split CSS specific to individual pages.
  • Can work as a standalone implementation (check out the ./sample/ directory) or in tandem with eleventy-plugin-vue.

Installation

npm install @11ty/eleventy-assets

Usage

See the ./sample/ directory for an example implementation.

  • A usingComponent shortcode to log component use in each template.
  • A getCSS filter for use in layout templates to output the code-split CSS for the current URL (only).
  • Component CSS is stored in ./sample/css/
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago