Go to file
Philipp Dormann 19528778a9 proper naming conventions 2020-08-29 18:42:14 +02:00
dist proper naming conventions 2020-08-29 18:42:14 +02:00
src proper naming conventions 2020-08-29 18:42:14 +02:00
.gitignore 🧹 clean up build process 2020-08-29 16:25:32 +02:00
README.md proper naming conventions 2020-08-29 18:42:14 +02:00
gulpfile.js proper naming conventions 2020-08-29 18:42:14 +02:00
index.html proper naming conventions 2020-08-29 18:42:14 +02:00
package.json cleaner build pipe + ES6 2020-08-29 18:25:14 +02:00

README.md

ODIT.Services - MailyMaily

A better mailto based on mailtoui

🛠 Building

yarn && yarn build

Use

Example

Basic: Link the dist file mailymaily.min.js at the bottom of your footer.

<script src="your/path/to/mailymaily.min.js"></script>

Alternatively: Add defer or async=false when linking in the header

    <script src="your/path/to/mailymaily.min.js" defer></script>
    <!-- or -->
    <script src="your/path/to/mailymaily.min.js" async=false></script>

VueJS & NuxtJs

Place the dist file "mailymaily.min.js" in the static folder. Link the dist file at the bottom of your layout, for example:

<template>
  <div>
    <Header />
    <Nuxt />
    <Footer />
    <script src="/libs/mailymaily.min.js"></script>
  </div>
</template>