Fix logo 404

This commit is contained in:
weryques 2018-02-16 15:39:20 -02:00
parent 343733ad27
commit 9c3f35d421
4 changed files with 12 additions and 8 deletions

View File

@ -3,7 +3,7 @@
<nav class="navbar is-secondary" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<router-link class="navbar-item" to="/">
<img src="./images/tainacan_logo_header.png" alt="Taincan Admin" height="32">
<img :src="logoHeader" alt="Tainacan Admin" height="32">
</router-link>
<router-link class="navbar-item" to="/collections">Coleções</router-link>
</div>
@ -11,11 +11,17 @@
<div class="container">
<router-view></router-view>
</div>
{{ }}
</div>
</template>
<script>
export default {
name: "AdminPage"
name: "AdminPage",
data(){
return {
logoHeader: '../wp-content/plugins/tainacan/admin/images/tainacan_logo_header.png'
}
}
}
</script>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -8734,6 +8734,4 @@
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
/*# sourceMappingURL=materialdesignicons.css.map */
}

View File

@ -11,6 +11,7 @@ module.exports = {
publicPath: './src/assets/',
filename: '[name]-components.js'
},
devtool: 'eval-source-map',
module: {
rules: [
{
@ -31,7 +32,7 @@ module.exports = {
},
{
test: /\.css$/,
use: ['style-loader', 'css-loader', 'postcss-loader']
use: ['style-loader', 'css-loader', 'postcss-loader'],
}
]
},
@ -44,11 +45,10 @@ module.exports = {
historyApiFallback: true,
noInfo: true
},
devtool: '#source-map'
}
if (process.env.NODE_ENV === 'production') {
module.exports.devtool = '#eval-source-map'
module.exports.devtool = 'inline-source-map';
// http://vue-loader.vuejs.org/en/workflow/production.html
module.exports.plugins = (module.exports.plugins || []).concat([
new webpack.DefinePlugin({