telvin-vuetify
v0.15.7
Published
Vue.js 2 Semantic Component Framework
Downloads
5
Readme
Demo and Documentation
Documentation
CDN Quick-start
<!DOCTYPE html>
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons' rel="stylesheet">
<link href="https://unpkg.com/vuetify/dist/vuetify.min.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
</head>
<body>
<div id="app">
<v-app>
<main>
<v-container>Hello world</v-container>
</main>
</v-app>
</div>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/vuetify/dist/vuetify.js"></script>
<script>
new Vue({
el: '#app'
})
</script>
</body>
</html>
Project Install
# npm
npm install vuetify
# yarn
yarn add vuetify
Use
import Vue from 'vue'
import Vuetify from 'vuetify'
Vue.use(Vuetify)
For including styles, you can either place the below styles in your index.html
<link href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons' rel="stylesheet">
<link href="https://unpkg.com/vuetify/dist/vuetify.min.css" rel="stylesheet">
Or you can import it to your webpack entry point
require('/path/to/node_modules/vuetify/dist/vuetify.min.css')
Keep in mind, you will need to ensure your webpack config contains a css-loader.
Frequently asked questions and Gotchas
Frequently asked questions
Support and Questions
Ask your support questions on the vuetifyjs discord.
Info
Codepen starter Vuetify Template