Skip to content

Instantly share code, notes, and snippets.

@carlosrojaso
Created October 5, 2020 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlosrojaso/80738a0750566f0e5321752f59bbba03 to your computer and use it in GitHub Desktop.
Save carlosrojaso/80738a0750566f0e5321752f59bbba03 to your computer and use it in GitHub Desktop.
<template>
<div id="app">
<img alt="Vue logo" src="./assets/logo.png">
<error-component>Esto en un mensaje</error-component>
<error-component :kind="warning">Esto en un mensaje</error-component>
<error-component :kind="error">Esto en un mensaje</error-component>
</div>
</template>
<script>
import 'simple-error-component';
export default {
name: 'App',
data() {
return {
warning: 'warning',
error: 'error'
}
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment