项目开发过程中我们可能会定义一些公共样式、变量、mixin...,在任意单文件中可以随时自由的引用这些公共样式和变量,那么我们就可以使用style-resources-loader,这篇文章将介绍如何使用它。 一、预处理器安装 根据不同预处理器(Sass/Less/Stylus),安装响应的webp ...
分类:
Web程序 时间:
2020-07-06 12:46:29
阅读次数:
166
默认把styleExt改成less或者scss { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { " ...
分类:
其他好文 时间:
2020-07-06 12:37:10
阅读次数:
126
import 'package:flutter/cupertino.dart'; class RightBackDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Cupertino ...
分类:
其他好文 时间:
2020-07-06 10:31:34
阅读次数:
179
sudo rosdep init报错如下: ERROR: cannot download default sources list from: https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/2 ...
分类:
其他好文 时间:
2020-07-05 00:22:56
阅读次数:
643
学习字符串format()函数,执行如下语句时报错:ValueError: cannot switch from manual field specification to automatic field numbering,意思为:值错误:无法从手动字段规范切换到自动字段编号 原来是因为自动编号和 ...
分类:
其他好文 时间:
2020-07-04 20:32:26
阅读次数:
86
pip install pyecharts from pyecharts import Bar 报错:ImportError: cannot import name 'Bar' from 'pyecharts' (D:\anaconda\lib\site-packages\pyecharts\__i ...
分类:
其他好文 时间:
2020-07-03 17:34:21
阅读次数:
198
挺久没有登录的 oracle 数据库,因为公司要求加固密码,登录后修改失败 1、启动数据库的同时启动控制文件、数据文件,提示:cannot mount database in EXCLUSIVE mode 2、启动数据库的同时启动控制文件、不启动数据文件,提示:database not mounte ...
分类:
数据库 时间:
2020-07-03 10:36:46
阅读次数:
132
给定一个 n x n 矩阵,其中每行和每列元素均按升序排序,找到矩阵中第 k 小的元素。请注意,它是排序后的第 k 小元素,而不是第 k 个不同的元素。 Example: matrix = [ [ 1, 5, 9], [10, 11, 13], [12, 13, 15] ], k = 8, oupu ...
分类:
其他好文 时间:
2020-07-02 23:20:46
阅读次数:
91
1.Linux配置 ifconfig :查看当前网络IP reboot :关机重启 2.文件目录类 pwd:显示当前的绝对路径 cd [路径]:切换路径,cd -:回到上一次所在的目录 cd ..:回到当前目录的上一级目录 ls:列出目录内容,-a:全部的文件包括隐藏文件,-l:包含文件的属性权限等 ...
分类:
系统相关 时间:
2020-07-02 20:09:57
阅读次数:
123
题目 Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her favorite order by cutting off ...
分类:
其他好文 时间:
2020-07-02 19:53:26
阅读次数:
70