Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing-opeartion
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gic-web
marketing-opeartion
Commits
e7bff6df
Commit
e7bff6df
authored
Jan 20, 2022
by
chenyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: update
parent
4a5e0bf8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
index.html
public/index.html
+9
-2
vue.config.js
vue.config.js
+4
-5
No files found.
public/index.html
View file @
e7bff6df
...
@@ -15,8 +15,15 @@
...
@@ -15,8 +15,15 @@
<strong>
We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
<strong>
We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
</noscript>
</noscript>
<div
id=
"app"
></div>
<div
id=
"app"
></div>
<script
src=
"//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js"
></script>
<!-- 组件引用cdn -->
<script
src=
"//web-1251519181.file.myqcloud.com/lib/element-ui/2.15.6/index.js"
></script>
<script>
(
function
()
{
var
src
=
'/component/static/import-component.js?timestrap='
+
new
Date
().
getTime
();
var
host
=
window
.
location
.
host
;
host
=
host
.
indexOf
(
'localhost'
)
>
-
1
||
host
.
indexOf
(
'192.168'
)
>
-
1
?
'gicdev.demogic.com'
:
host
;
document
.
write
(
'<script src="//'
+
host
+
src
+
'"><
\
/script>'
);
})();
</script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/input.2.0.14.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/input.2.0.14.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/transfer.1.0.15.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/transfer.1.0.15.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/steps.1.0.8.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/steps.1.0.8.js"
></script>
...
...
vue.config.js
View file @
e7bff6df
...
@@ -2,7 +2,7 @@ const path = require("path");
...
@@ -2,7 +2,7 @@ const path = require("path");
module
.
exports
=
{
module
.
exports
=
{
productionSourceMap
:
process
.
env
.
NODE_ENV
!==
'production'
,
productionSourceMap
:
process
.
env
.
NODE_ENV
!==
'production'
,
publicPath
:
process
.
env
.
NODE_ENV
===
'production'
?
'/gic-marketing-operation'
:
'/
'
,
publicPath
:
'/gic-marketing-operation
'
,
devServer
:
{
devServer
:
{
overlay
:
{
overlay
:
{
warnings
:
true
,
warnings
:
true
,
...
@@ -12,11 +12,10 @@ module.exports = {
...
@@ -12,11 +12,10 @@ module.exports = {
configureWebpack
:
config
=>
{
configureWebpack
:
config
=>
{
config
.
externals
=
{
config
.
externals
=
{
vue
:
'Vue'
,
vue
:
'Vue'
,
// 'vue-router': 'VueRouter
',
axios
:
'axios
'
,
//
vuex: 'Vuex',
vuex
:
'Vuex'
,
// axios: 'axios
',
'vue-router'
:
'VueRouter
'
,
'element-ui'
:
'ELEMENT'
,
'element-ui'
:
'ELEMENT'
,
// BMap: 'BMap'
};
};
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
config
.
optimization
.
minimizer
[
0
].
options
.
terserOptions
.
compress
.
warnings
=
false
;
config
.
optimization
.
minimizer
[
0
].
options
.
terserOptions
.
compress
.
warnings
=
false
;
...
...
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