Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/MehdiKhoshnevisz/vue-splash

splash plugin for vue js
https://github.com/MehdiKhoshnevisz/vue-splash

css js loading splash splash-screen vue vue-splash

Last synced: about 1 month ago
JSON representation

splash plugin for vue js

Lists

README

        

# Vue Splash
Splash Your App Logo 💦

show the splash, until your app is loaded...

## Demo

[see demo](https://mehdikhoshnevisz.github.io/vue-splash/)

## Installation
```bash
npm i vue-splash
```

## Usage

Plugin install:

```js
import Vue from 'vue';
import VueSplash from 'vue-splash';

Vue.use(VueSplash);
```

Import in template:

```vue

import YourLogo from "<Your Magnificent Logo Path>";

export default {
name: "YourMagnificentVueComponent",
computed: {
logo() {
return YourLogo;
}
}
}

```

## Props

| name | type | default | description |
| ----------------- | -------------------------------- | -------------------------------- | ---------------------------------------------------------------------- |
| show | Boolean | true | decide to show component |
| logo | String | https://svgshare.com/i/NRE.svg | image source to load your logo |
| title | String | Your Magnificent App Name | define app name |
| custom-text | String | | write your custom text or html instead of title prop |
| color | String | #00bfa5 | define splash color |
| size | String, Number | 180 | define splash logo size (px) |
| fixed | Boolean | true | fixed to full screen |
| background-color | String | | set background color (it works if the "fixed" property is set to true) |

## Support
If you like this plugin and want to support me to make more plugins and apps like this, you can pay me with SOL\
My SOL wallet: ```4BjqDB5hGmZVkiRuBa5JkhceLVaTokYg4Gqe4fkV6Lby```.\
Also you can [buy me a coffee](https://www.buymeacoffee.com/imehdi) :)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.