-
Notifications
You must be signed in to change notification settings - Fork 3
Setup
Arthur Guiot edited this page Apr 30, 2018
·
1 revision
In order to install ProType, you'll need to follow the instructions, depending on your platform.
In your index.html, write the following lines at the end of your <body> tag:
<!-- ProType -->
<script src="https://unpkg.com/protype.js" charset="utf-8"></script>
<!-- Your JS file (make sure it's after ProType) -->
<script src="/js/main.js" charset="utf-8"></script>First, cd to your www directory (or wherever is your HTML code) in a terminal. Then, run:
npm i protype.jsAnd, in your index.html, write the following lines at the end of your <body> tag:
<!-- ProType -->
<script src="./node_modules/protype.js/dist/protype.min.js" charset="utf-8"></script>
<!-- Your JS file (make sure it's after ProType) -->
<script src="/js/main.js" charset="utf-8"></script>