Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
broadcast_cloud
/
web-live
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
2
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a88a93d2
authored
Oct 20, 2020
by
xiawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开始sourceMap调试
parent
37777e8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
nuxt.config.js
+5
-2
views/_id.vue
+8
-0
No files found.
nuxt.config.js
View file @
a88a93d2
...
...
@@ -106,8 +106,11 @@ export default {
publicPath
:
process
.
env
.
run_server
?
`//static-
${
process
.
env
.
run_server
}
.guangdianyun.tv/live/
${
version
}
`
:
`/
${
BUILD_DIST
.
toLowerCase
()}
/`
,
extend
(
config
,
ctx
)
{
// console.log(ctx);
extend
(
config
,
{
isClient
})
{
// 为 客户端打包 进行扩展配置
if
(
isClient
)
{
config
.
devtool
=
'eval-source-map'
;
}
},
analyze
:
false
,
maxChunkSize
:
300000
,
...
...
views/_id.vue
View file @
a88a93d2
<!--
* @Author: your name
* @Date: 2020-09-14 16:53:49
* @LastEditTime: 2020-10-20 10:58:26
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /consoles_program/Users/xiawei/gdy/web-live/views/_id.vue
-->
<
template
>
<page-view
v-if=
"status == 200 && channelInfo.id"
:isMobile=
"isMobile"
/>
<state
v-else
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment