Skip to content

Instantly share code, notes, and snippets.

View Jantho1990's full-sized avatar
💭
Game devvin'

Josh Anthony Jantho1990

💭
Game devvin'
View GitHub Profile
@Jantho1990
Jantho1990 / StarRating.3b.vue
Last active June 19, 2018 02:05
StarRating Vue -- 3b
<script>
import {
FontAwesomeIcon,
FontAwesomeLayers
} from '@fortawesome/vue-fontawesome'
export default {
name: "StarRating",
components: {
FontAwesomeIcon,
@Jantho1990
Jantho1990 / StarRating.2a.vue
Last active June 19, 2018 00:07
StarRating Vue -- 2a
<template>
<div class="star-rating">
</div>
</template>
<script>
export default {
name: "StarRating",
props: {
@Jantho1990
Jantho1990 / HelloWorld.1c2.vue
Created June 17, 2018 05:08
StarRating Vue -- 1c2
<style scoped>
h1, h2 {
font-weight: normal;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
@Jantho1990
Jantho1990 / HelloWorld.1c1.vue
Created June 17, 2018 04:50
StarRating Vue -- 1c1
<script>
export default {
name: 'HelloWorld',
data () {
return {
msg: 'Welcome to Your Vue.js App'
}
}
}
</script>
@Jantho1990
Jantho1990 / HelloWorld.1c.vue
Last active June 17, 2018 04:44
StarRating Vue -- 1c
<template>
<div class="hello">
<h1>{{ msg }}</h1>
<h2>Essential Links</h2>
<ul>
<li>
<a href="https://vuejs.org" target="_blank">
Core Docs
</a>
</li>
@Jantho1990
Jantho1990 / App.1b3.vue
Created June 17, 2018 04:15
StarRating Vue -- 1b3
<style>
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}
</style>
@Jantho1990
Jantho1990 / App.1b2.vue
Created June 17, 2018 02:16
StarRating Vue -- 1b2
<script>
import HelloWorld from './components/HelloWorld'
export default {
name: 'App',
components: {
HelloWorld
}
}
</script>
@Jantho1990
Jantho1990 / App.1b1.vue
Created June 17, 2018 02:07
StarRating Vue -- 1b1
<template>
<div id="app">
<img src="./assets/logo.png">
<HelloWorld/>
</div>
</template>
@Jantho1990
Jantho1990 / App.1b.vue
Created June 17, 2018 01:38
StarRating Vue -- 1b
<template>
<div id="app">
<img src="./assets/logo.png">
<HelloWorld/>
</div>
</template>
<script>
import HelloWorld from './components/HelloWorld'
@Jantho1990
Jantho1990 / main.1a.js
Created June 17, 2018 01:00
Star Rating Vue - 1a
import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
el: '#app',
render: h => h(App)
})