@frontkom/vf-calc
v0.1.1
Published
Vestfold Fugl Recipe Calculator
Downloads
9
Keywords
Readme
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>