mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-18 20:21:07 +00:00
Add a component instead of inherit default config
This commit is contained in:
parent
9ba09d7e39
commit
f59acebbe8
2 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<!doctype html>
|
||||
|
||||
<html lang="en-US">
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@ import './stylesheets/docs.scss';
|
|||
import './config.js';
|
||||
import router from './routes.js';
|
||||
|
||||
let App = Vue.extend({
|
||||
let App = Vue.component('app', {
|
||||
name: 'app',
|
||||
data() {
|
||||
return {
|
||||
showSidenav: false
|
||||
|
|
|
|||
Loading…
Reference in a new issue