Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
9a1c0e2c9b3962ce56d01cb3f0b934815888368d
1 parent
c15cba86
PC JS服务器监听8001端口
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
template/www.yohobuy.com/partials/layout/footer.phtml
web-static/gulpfile.js
template/www.yohobuy.com/partials/layout/footer.phtml
View file @
9a1c0e2
...
...
@@ -12,14 +12,14 @@
<script
src=
"http://static.buy.test.yoho.cn/dist/yohobuy/{{version}}/index-debug.js"
></script>
{
{/if
}
}
{
{#if
devEnv
}
}
<script
src=
"http://localhost:800
0
/static/js/sea.js?nowrap"
></script>
<script
src=
"http://localhost:800
1
/static/js/sea.js?nowrap"
></script>
<script>
seajs.config(
{
base:
'http://localhost:800
0
/'
base:
'http://localhost:800
1
/'
}
);
</script>
{
{/if
}
}
{
{>
layout/use
}
}
{
{>
layout/analysis
}
}
</body>
</html>
\ No newline at end of file
</html>
...
...
web-static/gulpfile.js
View file @
9a1c0e2
...
...
@@ -56,7 +56,7 @@ gulp.task('compass-watch', function() {
// start spm server
gulp
.
task
(
'spm-doc'
,
function
()
{
var
sd
=
cp
.
exec
(
'spm doc
'
);
var
sd
=
cp
.
exec
(
'spm doc
watch --port 8001'
);
// pc用8001,h5用8000, 跑两个服务器,不冲突
// sd.stdout.on('data', function(data) {
// console.log(data);
...
...
@@ -197,4 +197,4 @@ gulp.task('business', ['libs'], function() {
gulp
.
task
(
'script'
,
function
()
{
gulp
.
src
(
'plugin/page/**/*'
)
.
pipe
(
gulp
.
dest
(
rootDist
));
});
\ No newline at end of file
});
...
...
Please
register
or
login
to post a comment