mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-05-17 06:59:40 +03:00
build: add dev
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<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" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script src="./dev.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,13 @@
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import Vue from 'vue';
|
||||
|
||||
import DatePicker from '../src/index';
|
||||
import '../src/style/index.scss';
|
||||
|
||||
import App from './app';
|
||||
|
||||
DatePicker.install(Vue);
|
||||
|
||||
new Vue({
|
||||
render: h => h(App),
|
||||
}).$mount('#app');
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
],
|
||||
"version": "3.0.0",
|
||||
"scripts": {
|
||||
"dev": "parcel ./example/index.html --open --port 2235",
|
||||
"dev": "parcel ./example/dev.html --open --port 2235",
|
||||
"build:index": "rollup -c",
|
||||
"build:locale": "rollup -c rollup.locale.config.js",
|
||||
"build:css": "sass --style=compressed --no-source-map src/style/index.scss index.css",
|
||||
|
||||
Reference in New Issue
Block a user