Fix some bug

pull/1207/head
qingwei.li 2016-11-18 19:43:07 +08:00 committed by Leopoldthecoder
parent 37510831ca
commit c6d6b32c5e
3 changed files with 11 additions and 3 deletions

View File

@ -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'

View File

@ -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>

View File

@ -185,6 +185,9 @@
padding-bottom: 54px;
}
}
.banner-stars {
display: none;
}
.banner-desc {
#line2 {
display: none;