forked from eteplus/vue-sui-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
eteplus
committed
Mar 28, 2016
1 parent
8aab42d
commit 14e050f
Showing
7 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,10 @@ | |
- 按需加载组件 | ||
|
||
------- | ||
|
||
#### v0.1.3 ( 2016-3-28 ) #### | ||
- 修改静态资源目录 | ||
- 修改vue-resource的root设置 | ||
- 修复代码发布后, 无法运行服务的问题 | ||
|
||
------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
var express = require('express'); | ||
var path = require('path'); | ||
var app = express(); | ||
var express = require('express') | ||
var path = require('path') | ||
var app = express() | ||
var favicon = require('express-favicon') | ||
|
||
app.use('/static', express.static(path.join(__dirname, './dist/static'))); | ||
app.use('/static', express.static(path.join(__dirname, './dist/static/'))) | ||
app.use('/data', express.static(path.join(__dirname, './src/data'))) | ||
app.use('/img', express.static(path.join(__dirname, './src/assets/img'))) | ||
|
||
app.use(favicon(path.join(__dirname, './favicon.ico'))) | ||
|
||
app.get('/', function (req, res) { | ||
res.sendFile('index.html', { root: path.join(__dirname, './dist') }); | ||
}); | ||
res.sendFile('index.html', { root: path.join(__dirname, './dist') }) | ||
}) | ||
|
||
var server = app.listen(3030, '127.0.0.1', function () { | ||
|
||
var host = server.address().address; | ||
var port = server.address().port; | ||
var host = server.address().address | ||
var port = server.address().port | ||
|
||
console.log('vue-sui-demo listening at http://%s:%s', host, port); | ||
console.log('vue-sui-demo listening at http://%s:%s', host, port) | ||
|
||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "vue-sui-demo", | ||
"description": "vue combine with sui-mobile", | ||
"author": "eteplus <[email protected]>", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"scripts": { | ||
"main": "node index.js", | ||
"dev": "node build/dev-server.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters