Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloak-app/boilerplate

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloak-app/boilerplate

Modules that setup standard Cloak conventions.

  • 1.4.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
31
increased by63.16%
Maintainers
0
Weekly downloads
 
Created
Source

@cloak-app/boilerplate

Modules that setup standard Cloak conventions.

  • View demo
  • Edit CodeSandbox

Install

  1. Install with yarn add @cloak-app/boilerplate
  2. Add to nuxt.config with buildModules: ['@cloak-app/boilerplate']

Module Options

Set these properties within cloak: { boilerplate: { ... } } in the nuxt.config.js:

  • helpers - An array of filenames to include from the helpers directory. By default, all helpers are included. Filename extensions are optional.
  • excludedHelpers - An array of filenames to exclude from the helpers directory. By default, this is empty. Filename extensions are optional.
  • modules - An array of filenames to include from the modules directory. By default, all modules are included. Filename extensions are optional.
  • excludedModules - An array of filenames to exclude from the modules directory. By default, this is empty. Filename extensions are optional.
  • polyfills - Array of polyfill.io keywords. For example, ["default", "URL", "IntersectionObserver"]. If objectFit is included, will add the objectFitPolyfill for VueVisual on IE11.
  • siteName - The name of the site, used to generate <title>, OG, and PWA tags.

Breaking Changes

Changes from @bkwld/cloak

  • No polyfills are added by default
  • Dropping support for Craft SSG generation with payloads

Contributing

Run yarn dev to open a Nuxt dev build of the demo directory.

FAQs

Package last updated on 03 Jul 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc