mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-05-17 06:09:39 +03:00
docs: update demo
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
## 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
|
||||
|
||||
<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" />
|
||||
<title>Document</title>
|
||||
<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>
|
||||
<body>
|
||||
<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>
|
||||
</body>
|
||||
</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';
|
||||
|
||||
Vue.use(DatePicker);
|
||||
|
||||
new Vue({
|
||||
new window.Vue({
|
||||
render: h => h(App),
|
||||
}).$mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user