mailymaily/README.md

38 lines
806 B
Markdown
Raw Permalink Normal View History

# ODIT.Services - MailyMaily
A better mailto based on mailtoui
## 🛠 Building
```
yarn && yarn build
```
## Use
[Example](index.html)
2020-08-29 16:42:14 +00:00
Basic: Link the dist file `mailymaily.min.js` at the bottom of your footer.
```html
2020-08-29 16:42:14 +00:00
<script src="your/path/to/mailymaily.min.js"></script>
```
Alternatively: Add defer or async=false when linking in the header
```html
2020-08-29 16:42:14 +00:00
<script src="your/path/to/mailymaily.min.js" defer></script>
<!-- or -->
2020-08-29 16:42:14 +00:00
<script src="your/path/to/mailymaily.min.js" async=false></script>
```
### VueJS & NuxtJs
2020-08-29 16:42:14 +00:00
Place the dist file "mailymaily.min.js" in the static folder.
Link the dist file at the bottom of your layout, for example:
```html
<template>
<div>
<Header />
<Nuxt />
<Footer />
2020-08-29 16:42:14 +00:00
<script src="/libs/mailymaily.min.js"></script>
</div>
</template>
```