@transplace/vuetify
v1.0.0-beta.5-TP.1.3
Published
Vue.js 2 Semantic Component Framework
Downloads
4
Keywords
Readme
Documentation
<!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>
<v-content>
<v-container>Hello world</v-container>
</v-content>
</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>
# 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.