Comments (8)
你的 logo 需要放入 .vuepress/public 文件夹下, 可以看看官方文档 https://vuepress.vuejs.org/zh/guide/assets.html#%E5%85%AC%E5%85%B1%E6%96%87%E4%BB%B6
from vuepress-theme-yubisaki.
您好,我确实是按照官方文档中的操作的。
下面是我的目录结构,内容正常运作 :)
不使用您的主题的话这个路径是正常的,vuepress的webpack对静态资源的读取都在.vuepress目录下。
感谢回复~!
from vuepress-theme-yubisaki.
我没有看见你的目录结构
from vuepress-theme-yubisaki.
@MeteorOCC 你好,可以提供一个复现的 repo 吗
from vuepress-theme-yubisaki.
@Bloss 好的,不过我需要学习一下放到github的过程后在此留下链接方便您查看~!
from vuepress-theme-yubisaki.
好的,Thanks
from vuepress-theme-yubisaki.
已经解决了,我比较早的时候yarn下了Vuepress近期才开始看,public里面的图片默认路径已经不需要详细指定了,经过webpack处理已经是'/'代替了'./public/'
build文档的时候我还发现了一个问题,就是build出来的静态网页没有办法加载样式,查看了一下html文件发现是路径有问题,通过
这样配置后就可以读取正确的路径,但是文档反而读取不到了,还在对照官方文档查看webpack配置和自己的路径。———已解决,格式化之后就能够正常显示了,一脸懵逼。
抱歉给您带来麻烦啦:)
from vuepress-theme-yubisaki.
All right, amazing
from vuepress-theme-yubisaki.
Related Issues (20)
- 你好,请问content组件内的元素样式能自定义吗? HOT 4
- Problem with new comment system HOT 9
- gitalk配置问题 HOT 11
- markdown-it was update HOT 2
- Can you give a example using the theme please? HOT 1
- 请问:使用<!-- more --> 标签出现了重复标题现象,怎么解决呢 HOT 5
- footer不显示 HOT 1
- 我现在没配置id了,但是会出现多个comment挤在一个issue里面,但是刷新后又好了,甚是费解 HOT 1
- Can you give a example using hightlight lines in code? HOT 2
- dev报错 Error in render: "TypeError: Cannot read property 'interval' of undefined" HOT 14
- Activity.vue 组件样式有一点问题 HOT 1
- Try Vssue for comments HOT 9
- 侧边栏卡片可以加自动隐藏设置吗 HOT 1
- Failed to load custom theme "yubisaki". File vuepress-theme-yubisaki/Layout.vue does not exist HOT 3
- vue error HOT 3
- I want to install old theme for my project HOT 3
- can you give me your blog configuration? HOT 2
- [bug]Vssue can not work HOT 3
- 你好,请问下适用于vuepress1.0.0的版本么, HOT 1
- 你好,能帮我看下这个报错是怎么回事吗? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuepress-theme-yubisaki.