Comments (16)
GET http://localhost:8010/fd2711f07151f242a69e5eabb6c1b1b5.ttf
vue.runtime.esm.js?547b:7115 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
vue.runtime.esm.js?547b:7125 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
index.html:1 GET http://localhost:8010/47980f407ecd3490f023d05b4194de5f.woff
from vue-multiple-pages.
我把字体文件的'cache-loader',注释掉就可以了,但是有没有其他方法解决?
from vue-multiple-pages.
是不是文件太大,超过了url-loader
的限制了?
from vue-multiple-pages.
都是22KB啊,我感觉是缓存那边的问题,因为我把缓存文件夹删除了就可以显示了,但是过一会儿清空缓存就又提示找不到文件了。
from vue-multiple-pages.
有可以复现的项目看吗?我这里试了一下没有出现这个问题,我的项目在这issue15
from vue-multiple-pages.
最好提供一下详细一点的复现步骤,我的操作可能和你不一样.
from vue-multiple-pages.
测试项目 刚用github还不太会用啊,这个是我的项目,然后我里面把字体文件的cache-loader注释掉了。。
from vue-multiple-pages.
我看了你的项目,我说的icon是指iconFont之类的icon..
from vue-multiple-pages.
@649579742 我的项目也是iconfont,你看里面的login页面.
你的项目,我启用了cache-loader,然后npm run dev之后查看index页面,然后利用chrome浏览器上方的'清空缓存并硬性重新加载', 页面上的叹号图标还是在的,没有消失.
环境是Mac电脑 Chrome浏览器
from vue-multiple-pages.
这么奇怪,我这启用了cache-loader清空缓存并硬性重新加载就报最上面2楼那个错了,字体文件404。。。不过我用的是Windows7
from vue-multiple-pages.
@649579742 2楼的那个错看不明白,你给控制台截图一下完整的错误吧
from vue-multiple-pages.
from vue-multiple-pages.
我用win10系统试了一下,没这个问题,node
版本是6.10.1
.Mac对应的node
版本是7.8.0
from vue-multiple-pages.
我node是6.10.0,难道是版本问题。。。
from vue-multiple-pages.
可以升级一下node版本试试
from vue-multiple-pages.
hold不住cache-loader
,生产环境还是慎用的好,我去掉这个cache-loader
了
from vue-multiple-pages.
Related Issues (20)
- postcss没有编译 HOT 4
- 为什么不支持 es6 语法 HOT 5
- webpack可以弄成增量打包多页吗 HOT 1
- 搭建的多页面项目,跳转时会出现短暂的空白
- 我想升级webpack4,直接用你新的框架,把以前的src里面的文件夹都复制进去 HOT 2
- 如何使用vue-router 是否可以提供一个例子? HOT 7
- js里面如果有中文构建后会出现乱码 HOT 3
- extract-text-webpack-plugin应该被替换成mini-css-extract-plugin HOT 2
- 打包文件fill:\\\形式访问不对 HOT 1
- npm run dev 验证表单报错 HOT 7
- 当有 6 多页面时, build 一直卡着不动,删掉一个多页面能成功 build HOT 3
- Think you so much for sharing this framework ! Could you provide any code to support network request ? HOT 2
- Extra code? HOT 3
- Handle/simulate 404 error? HOT 1
- Readme doesn't mention that page titles are optional and could be missed
- Work together with vue-cli-plugin-pages
- Adding module error HOT 1
- can't auto open Browser
- please doc what this mean ? (remove named-chunk plugin)
- Why does the compiled page report errors and have no content
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 vue-multiple-pages.