0.1.1 • Published 6 years ago

@frontkom/vf-calc v0.1.1

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

Built With Stencil

Using this component

Install from NPM

$ npm install --save @frontkom/vf-calc

Put a script tag similar to this in the head of your index.html

<script src="/node_modules/@frontkom/vf-calc/dist/vf-calc.js"></script>

Then you can use the element anywhere in your template, JSX, html, etc.

<vf-calc recipe-id="261"></vf-calc>

Example

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Vestfold Fugl Calculator</title>
  <script src="./node_modules/@frontkom/vf-calc/dist/vf-calc.js"></script>
</head>
<body>
  <h1>Vestfold Fugl Recipe Calculator</h1>
  <vf-calc recipe-id="261"></vf-calc>
</body>
</html>