Skip to content

Commit

Permalink
[add] Add Vuetify
Browse files Browse the repository at this point in the history
  • Loading branch information
nwtgck committed Nov 23, 2019
1 parent d4fd030 commit 4cde571
Show file tree
Hide file tree
Showing 10 changed files with 329 additions and 77 deletions.
112 changes: 112 additions & 0 deletions vuetify-loader-cannot-read-match-of-undefined/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions vuetify-loader-cannot-read-match-of-undefined/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"register-service-worker": "^1.6.2",
"vue": "^2.6.10",
"vue-class-component": "^7.0.2",
"vue-property-decorator": "^8.3.0"
"vue-property-decorator": "^8.3.0",
"vuetify": "^2.1.0"
},
"devDependencies": {
"@types/chai": "^4.1.0",
Expand All @@ -30,7 +31,11 @@
"chai": "^4.1.2",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"sass": "^1.19.0",
"sass-loader": "^8.0.0",
"typescript": "~3.5.3",
"vue-template-compiler": "^2.6.10"
"vue-cli-plugin-vuetify": "^2.0.2",
"vue-template-compiler": "^2.6.10",
"vuetify-loader": "^1.3.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>vuetify-loader-cannot-read-match-of-undefined</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">
</head>
<body>
<noscript>
Expand Down
70 changes: 51 additions & 19 deletions vuetify-loader-cannot-read-match-of-undefined/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,29 +1,61 @@
<template>
<div id="app">
<img alt="Vue logo" src="./assets/logo.png">
<HelloWorld msg="Welcome to Your Vue.js + TypeScript App"/>
</div>
<v-app>
<v-app-bar
app
color="primary"
dark
>
<div class="d-flex align-center">
<v-img
alt="Vuetify Logo"
class="shrink mr-2"
contain
src="https://cdn.vuetifyjs.com/images/logos/vuetify-logo-dark.png"
transition="scale-transition"
width="40"
/>

<v-img
alt="Vuetify Name"
class="shrink mt-1 hidden-sm-and-down"
contain
min-width="100"
src="https://cdn.vuetifyjs.com/images/logos/vuetify-name-dark.png"
width="100"
/>
</div>

<v-spacer></v-spacer>

<v-btn
href="https://github.com/vuetifyjs/vuetify/releases/latest"
target="_blank"
text
>
<span class="mr-2">Latest Release</span>
<v-icon>mdi-open-in-new</v-icon>
</v-btn>
</v-app-bar>

<v-content>
<HelloWorld/>
</v-content>
</v-app>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import Vue from 'vue'
import HelloWorld from './components/HelloWorld.vue'
@Component({
export default Vue.extend({
name: 'App',
components: {
HelloWorld
}
},
data: () => ({
//
})
})
export default class App extends Vue {}
</script>

<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>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4cde571

Please sign in to comment.