🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@menucloud/mc-menus

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@menucloud/mc-menus

Stencil Component Starter

0.0.4
latest
npm
Version published
Weekly downloads
6
-33.33%
Maintainers
2
Weekly downloads
 
Created
Source

Built With Stencil

@menucloud/mc-menus

This is an embeddeable webcomponent to be used for rendering publishedMenus from menucloud dashboard on other websites.

Properties

PropertyAttributeDescriptionTypeDefault
apiKeyapi-keystringundefined
betabetabooleanundefined
devdevbooleanundefined
locallocalbooleanundefined
menus--string[]undefined
restaurantIdrestaurant-idstringundefined

Using this component

Script tag

  • Publish to NPM
  • Put a script tag similar to this <script src='https://unpkg.com/@menucloud/mc-menus@0.0.1/dist/mc-menus.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install @menucloud/mc-menus --save
  • Put a script tag similar to this <script src='node_modules/@menucloud/mc-menus/dist/mc-menus.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

In a stencil-starter app

  • Run npm install @menucloud/mc-menus --save
  • Add an import to the npm packages import @menucloud/mc-menus;
  • Then you can use the element anywhere in your template, JSX, html etc

Use in Vue

Code sample

  <mc-menu
    restaurant-id=""
    menus="[]"
    api-key=""
    dev
  ></mc-menu>

FAQs

Package last updated on 28 Jun 2020

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