- 博客(4)
- 收藏
- 关注
原创 div自动适应内容宽度,并且居中
内层div的display设置为inline-block,确保div的宽度适应内容的宽度外层div的text-align设置为center,即保证内层div居中显示例子:HTML <div class="M-box"> <div class="M-box2 m-style"></div>...
2018-07-20 20:25:05 24530 1
原创 npm ERR! Failed at the node-sass@4.5.2 postinstall script. npm ERR! This is probably not a problem
$ npm install> node-sass@4.5.2 install F:\work\jnyy\server-no-dubbo\littlec-eecweb\node_modul ...
2018-07-16 19:31:40 9356
转载 stylus的引用方式 ,~ 是stylus的写法
在项目中,引入.styl文件的时候,用来下面方式1 @import "~common/stylus/variable.styl"~ 是stylus的写法,参考https://github.com/shama/stylus-loader~common 表示相对 common,然后我们在 webpack 配置了 common 的 alias,就能找到了它的路径了...
2018-07-05 00:04:30 5828
转载 This dependency was not found: * common/stylus/index.styl in ./src/main.js To install it, you can ru
有如下错误:This dependency was not found:* common/stylus/index.styl in ./src/main.jsTo install it, you can run: npm install --save common/stylus/index.styl 的解决办法是 在 解决:1、首先 npm install stylus-loader stylus...
2018-07-04 23:37:23 4242
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人