mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 04:08:10 +08:00
Fix some bug
This commit is contained in:
parent
37510831ca
commit
c6d6b32c5e
@ -43,6 +43,11 @@ cooking.set({
|
||||
postcss: config.postcss
|
||||
});
|
||||
|
||||
// fix publicPath
|
||||
if (!process.env.CI_ENV) {
|
||||
cooking.add('output.publicPath', '');
|
||||
}
|
||||
|
||||
cooking.add('loader.md', {
|
||||
test: /\.md$/,
|
||||
loader: 'vue-markdown-loader'
|
||||
|
@ -8,7 +8,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div><% if (process.env.NODE_ENV === 'production') { %>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/vue/2.0.5/vue.runtime.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/vue/2.0.7/vue.runtime.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/vue-router/2.0.1/vue-router.min.js"></script><% } %>
|
||||
</body>
|
||||
<% if (process.env.NODE_ENV === 'production') { %><script>
|
||||
|
@ -55,7 +55,7 @@
|
||||
font-size: <%= titleSize >px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
p {
|
||||
font-size: 14px;
|
||||
opacity: .8;
|
||||
@ -185,6 +185,9 @@
|
||||
padding-bottom: 54px;
|
||||
}
|
||||
}
|
||||
.banner-stars {
|
||||
display: none;
|
||||
}
|
||||
.banner-desc {
|
||||
#line2 {
|
||||
display: none;
|
||||
@ -244,7 +247,7 @@
|
||||
<h3><%= 8 ></h3>
|
||||
<p><%= 9 ></p>
|
||||
<router-link
|
||||
active-class="active"
|
||||
active-class="active"
|
||||
to="/<%= lang >/resource"
|
||||
exact><%= 5 >
|
||||
</router-link>
|
||||
|
Loading…
Reference in New Issue
Block a user