Skip to content

angelformica/fitcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FitCalc 0.1.0 - Fitnes calculator embeddable widget

Made with Vue Js!

Insert this widget anywhere you want.

Fully customizable fitness calculator widget that can be inserted in any html page using just a javascript link and an html tag. This is a work in progress. Random results are shown and more options and documentation are yet to come.

Demo

Here you can find an example page -> fit-calc

To install

Copy this in your head section:

<link href="https://fit-calc.s3-us-west-2.amazonaws.com/js/app.js" rel=preload as=script>    
<link href="https://fit-calc.s3-us-west-2.amazonaws.com/css/app.css" rel=preload as=style>
<link href="https://fit-calc.s3-us-west-2.amazonaws.com/css/app.css" rel=stylesheet> 

And this to your footer section

<script src="https://fit-calc.s3-us-west-2.amazonaws.com/js/app.js"></script>

Now you can insert the widget anywhere in your page like this:

<fit-calc title="Fit Cal"></fit-calc>

To modify and customize.

Clone the repo. Make your changes and don't forget to

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

After customizing, you will have to host your own files.

Thanks to DJanoskova and karol-f for vue-custom-element

Feel free to use this widget. Any help to improve it, is welcome. If you want to remove the link to my page, please contact me

About

Just a simple fitness calculator widget

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •