there are css, eot, svg, ttf, woff and woff2 files under my iconfont, but woff2 files cannot be packaged into the release directory
this is the file in my source code
there are css, eot, svg, ttf, woff and woff2 files under my iconfont, but woff2 files cannot be packaged into the release directory
this is the file in my source code
check the configuration of your font file loader
such as
{
test: /\.(eot|svg|ttf|woff|woff2)$/,
use: [
{
loader: 'file-loader',
options: {
name: 'fonts/[name].[ext]',
outputPath: 'static'
}
}
]
}
Files with the extension woff2 must also be regularly matched
<video id="myVideo" width="100%" controls preload> <source src="video test.mp4" type="video mp4" codecs="avc1.42E01E,mp4a.40.2"> < video> other mainstream browsers are fine, adaptin...
do not print 500 asterisks in a loop Don t make jokes like manual ...
chrome browser can upload pictures normally. if you use uploaded pictures in ie10, you will report an error Error: parameter is invalid. ...
problem description our company is using the vue ecosystem, and suddenly there is a need to print a web page, so we want to use SSR to render html instead of VDOM, so it is convenient to extract html without relying on the browser to print. the envi...