skeleton for dashboard2.

This commit is contained in:
2017-08-02 23:58:47 +02:00
parent d349028286
commit e0bf264fbf
4 changed files with 29 additions and 9 deletions

View File

@@ -72,5 +72,7 @@ let webpackConfig = {
module.exports = vuxLoader.merge(webpackConfig, {
plugins: ['vux-ui', 'progress-bar', 'duplicate-style']
plugins: [
'vux-ui', 'progress-bar', 'duplicate-style'
]
})

View File

@@ -18,7 +18,7 @@ var webpackConfig = merge(baseWebpackConfig, {
extract: true
})
},
devtool: config.build.productionSourceMap ? '#source-map' : false,
devtool: config.build.productionSourceMap ? '#cheap-module-source-map' : false,
output: {
path: config.build.assetsRoot,
filename: utils.assetsPath('js/[name].[chunkhash].js'),

View File

@@ -1,9 +1,27 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<title>domo</title>
<meta charset='utf-8' />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<<meta name="description" content="Domo Home Automation Controller" />
<meta name="author" content="NADAL Jean-Baptiste" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes" />
<link rel="icon" sizes="192x192" href="/static/android-desktop.png" />
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-title" content="Stream Dashboard" />
<link rel="apple-touch-icon-precomposed" href="/static/ios-desktop.png" />
<link rel="shortcut icon" href="/static/favicon.png" />
<title>Stream Dashboard</title>
</head>
<body>
<div id="app-box"></div>

View File

@@ -1,8 +1,8 @@
{
"name": "dashboard2",
"name": "dome",
"version": "1.0.0",
"description": "Stream Device Dashboard",
"author": "jbnadal <jbnadal@awox.com>",
"description": "Home Automation Tool",
"author": "NADAL Jean-Baptiste <jean.baptiste@nadal-fr.com>",
"private": true,
"scripts": {
"dev": "node build/dev-server.js",