2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-18 13:10:36 +03:00

docs: update demo

This commit is contained in:
mengxiong10
2019-11-11 00:10:01 +08:00
parent 9476c4496a
commit deaf8ea28a
4 changed files with 6 additions and 14 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
## Demo ## Demo
<https://mengxiong10.github.io/vue2-datepicker/demo/index.html> <https://mengxiong10.github.io/vue2-datepicker/index.html>
![image](https://github.com/mengxiong10/vue2-datepicker/raw/master/screenshot/demo.PNG) ![image](https://github.com/mengxiong10/vue2-datepicker/raw/master/screenshot/demo.PNG)
+1 -1
View File
@@ -19,7 +19,7 @@
## 线上 Demo ## 线上 Demo
<https://mengxiong10.github.io/vue2-datepicker/demo/index.html> <https://mengxiong10.github.io/vue2-datepicker/index.html>
![image](https://github.com/mengxiong10/vue2-datepicker/raw/master/screenshot/demo.PNG) ![image](https://github.com/mengxiong10/vue2-datepicker/raw/master/screenshot/demo.PNG)
+3
View File
@@ -6,9 +6,12 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title> <title>Document</title>
<link rel="stylesheet" href="https://unpkg.com/normalize.css@8.0.1/normalize.css" /> <link rel="stylesheet" href="https://unpkg.com/normalize.css@8.0.1/normalize.css" />
<link rel="stylesheet" href="https://unpkg.com/vue2-datepicker/index.css" />
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
<script src="https://unpkg.com/vue@2.6.10/dist/vue.js"></script>
<script src="https://unpkg.com/vue2-datepicker/index.min.js"></script>
<script src="./index.js"></script> <script src="./index.js"></script>
</body> </body>
</html> </html>
+1 -12
View File
@@ -1,16 +1,5 @@
/* eslint-disable import/no-extraneous-dependencies */
import Vue from 'vue';
import DatePicker from '../src/index';
// import '../src/locale/zh-cn';
import '../src/style/index.scss';
import App from './app'; import App from './app';
Vue.use(DatePicker); new window.Vue({
new Vue({
render: h => h(App), render: h => h(App),
}).$mount('#app'); }).$mount('#app');