Go to file
Nicolai Ort 7a8c8613c1
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
Ready for new release
2020-10-30 23:15:31 +01: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
.drone.yml Switched to drone w/ gitlab sync 🚀 2020-10-30 23:12:57 +01:00
.gitignore 🧹 clean up build process 2020-08-29 16:25:32 +02:00
.npmignore Added files to be delivered/ignored to the package .json 📦 2020-08-30 15:00:44 +02:00
README.md Updated readme with the new installation instructions✏ 2020-08-30 15:40:00 +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
old.gitlab-ci.yml Switched to drone w/ gitlab sync 🚀 2020-10-30 23:12:57 +01:00
package.json Ready for new release 2020-10-30 23:15:31 +01:00

README.md

ODIT.Services - MailyMaily

A better mailto based on mailtoui.

🛠 Building

yarn && yarn build

Use

Example

Install

Via yarn/npm:

yarn add @odit/mailymaily
# Or
npm i @odit/mailymaily

Or just copy the file dist/mailymaily.js to your prefered folder.

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

<script src="node_modules/@odit/mailymaily/dist/mailymaily.min.js"></script>

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

    <script src="node_modules/@odit/mailymaily/dist/mailymaily.min.js" defer></script>
    <!-- or -->
    <script src="node_modules/@odit/mailymaily/dist/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>