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, { 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 extract: true
}) })
}, },
devtool: config.build.productionSourceMap ? '#source-map' : false, devtool: config.build.productionSourceMap ? '#cheap-module-source-map' : false,
output: { output: {
path: config.build.assetsRoot, path: config.build.assetsRoot,
filename: utils.assetsPath('js/[name].[chunkhash].js'), filename: utils.assetsPath('js/[name].[chunkhash].js'),

View File

@@ -1,9 +1,27 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset='utf-8' />
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>domo</title>
<<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> </head>
<body> <body>
<div id="app-box"></div> <div id="app-box"></div>

View File

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