Socket
Socket
Sign inDemoInstall

@whppt/layouts

Package Overview
Dependencies
3
Maintainers
5
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@whppt/layouts

Whppt layouts plugin.


Version published
Maintainers
5
Weekly downloads
29
decreased by-34.09%

Weekly downloads

Changelog

Source

1.0.3 (2022-05-09)

Bug Fixes

  • dont register components in module. register in plugin (6185adb)

Readme

Source

@whppt/layouts

npm version npm downloads Github Actions CI Codecov License

A layout plugin for @whppt/nuxt. Implement configurable layouts in seconds.

📖 Release Notes

Table of Contents

Features

Usage

  1. Add @whppt/layouts dependency to your project
yarn add @whppt/layouts # or npm install @whppt/layouts
  1. Add @whppt/layouts to the modules section of nuxt.config.js
{
  modules: [
    // Simple usage
    '@whppt/layouts',

    // With options
    ['@whppt/layouts', { /* module options */ }]
  ]
}
  1. create a nuxt plugin, eg. ~/plugins/layouts.js
import Vue from 'vue'
import layouts from '@whppt/layouts'

Vue.use(layouts)
  1. Make a few updates to your ~/nuxt.config.js file.
export default {
  /* Rest of your config */
  plugins: {
    '~/plugins/layouts.js',
    /* Rest of your plugins */
  },
  /*
   * Note: the transpile step is only required if using the Vue.use() method,
   * if using Vue.component() to register the components omit the following.
   */
  build: {
    transpile: ['@whppt/layouts'],
  },
}
  1. Check the documentation for any layout components you wish to use on how to register and initialise each component in whppt.

Options

License

MIT License

FAQs

Last updated on 09 May 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc