Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

eta-slots-plugin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eta-slots-plugin

all credits go to [alexkar598](https://github.com/alexkar598), [@see](https://github.com/eta-dev/eta/discussions/224#discussioncomment-5748686)

latest
npmnpm
Version
12023.5.1
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

eta slots plugin

all credits go to alexkar598, @see

pnpm add eta-slots-plugin
import * as eta from "eta"
import etaSlotsPlugin from "eta-slots-plugin"

eta.configure({
    plugins: [etaSlotsPlugin],
})

layout.eta

<% slot("some-slot") ${ %>
  some default content
<% } %>

child.eta

<% layout("layout") %>

<% content("some-slot") ${ %>
  some slot content
<% } %>

FAQs

Package last updated on 01 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts