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:
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
||||||
<https://mengxiong10.github.io/vue2-datepicker/demo/index.html>
|
<https://mengxiong10.github.io/vue2-datepicker/index.html>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
## 线上 Demo
|
## 线上 Demo
|
||||||
|
|
||||||
<https://mengxiong10.github.io/vue2-datepicker/demo/index.html>
|
<https://mengxiong10.github.io/vue2-datepicker/index.html>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
@@ -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
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user