The Wayback Machine - https://web.archive.org/web/20220329000939/https://github.com/webdevnerdstuff/vue-unicorn-log
Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

🦄 Vue Unicorn Log

NPM_PACKAGE

A magical 🦄 plugin to make coloring the console output easier and more flexible.

Sometimes when building your application/site you don't want to see your linter complaining about using console functions. This helps to keep your linter happy so you can concentrate on writing bug free magical code.

It also has the ability to run the console functions depending on environment variables so you can keep your production site's console quiet.

Installation

npm i vue-unicorn-log

Documentation & Examples

Documentation & Examples

Usage

import Vue from 'vue';
import UnicornLog from 'vue-unicorn-log';

Vue.use(UnicornLog);

Instance Methods

There are two instance methods available to use. $unicornLog $uniLog

Console Methods

For a description of the different log methods, refer to the Web APIs | MDN developer documentation for console.

Simple Example

this.$unicornLog({
  text: 'Hello World',
});

For more examples, see Documentation & Examples.

Dependencies

Vue 2

Change Log

CHANGELOG

License

Copyright (c) 2022 WebDevNerdStuff
Licensed under the MIT license.

LICENSE

@WebDevNerdStuff

Vue Unicorn Log by @WebDevNerdStuff