Web前端
ayong120
这个作者很懒,什么都没留下…
展开
-
css内容换行,溢出部分用...代替
【代码】css内容换行,溢出部分用...代替;-webkit-line-clamp无效的解决方法;flex布局时,子元素换行时行间距变宽解决办法;border,多元素相邻时,border变宽解决办法原创 2023-01-16 15:18:22 · 513 阅读 · 0 评论 -
webpack handlebars 出现警告 require.extensions is not supported by webpack. Use a loader instead.
警告信息:WARNING in ./node_modules/handlebars/lib/index.js 22:38-56require.extensions is not supported by webpack. Use a loader instead. @ ./src/app.js 5:0-41 6:15-33WARNING in ./node_modules/handlebars/lib/index.js 23:2-20require.extensions is not suppo原创 2022-05-10 14:10:38 · 1485 阅读 · 0 评论 -
Error: Can‘t resolve ‘fs‘ in (Webpack 5.72.0)
报错:ERROR in ./node_modules/handlebars/lib/index.js 17:11-24Module not found: Error: Can't resolve 'fs' in '/home/test/project-web/test/node_modules/handlebars/lib'resolve 'fs' in '/home/test/project-web/test/node_modules/handlebars/lib'解决方法:在webpack.原创 2022-05-09 15:45:08 · 11381 阅读 · 8 评论