diff --git a/README.md b/README.md index 06ed2d1..e8c017b 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ ## Demo - + ![image](https://github.com/mengxiong10/vue2-datepicker/raw/master/screenshot/demo.PNG) diff --git a/README.zh-CN.md b/README.zh-CN.md index ed96bbf..ba881fe 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -19,7 +19,7 @@ ## 线上 Demo - + ![image](https://github.com/mengxiong10/vue2-datepicker/raw/master/screenshot/demo.PNG) diff --git a/example/index.html b/example/index.html index 5432e7c..4361ad5 100644 --- a/example/index.html +++ b/example/index.html @@ -6,9 +6,12 @@ Document +
+ + diff --git a/example/index.js b/example/index.js index 68fa604..50b9043 100644 --- a/example/index.js +++ b/example/index.js @@ -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');