小编Nie*_*cas的帖子

如何检查Angular Material的版本

我正在使用Linux,我想知道我是否可以检查使用的角度材料的版本.我正在使用bower来安装/更新包.

angularjs angular-material

6
推荐指数
2
解决办法
1万
查看次数

使用自制软件升级 Elasticsearch 7.3

我通过自制软件使用 Elasticsearch 6.8,并尝试升级到 7.3。以前,在 6.8 上,我已经收到有关不存在的日志文件的警告,但服务器仍会运行 - 所以我什么也没做。

现在使用 7.3,出现错误并且服务器无法运行:

Exception in thread "main" java.lang.RuntimeException: starting java failed with [1]
output:
[0.002s][error][logging] Error opening log file 'logs/gc.log': No such file or directory
[0.002s][error][logging] Initialization of output 'file=logs/gc.log' using options 'filecount=32,filesize=64m' failed.
error:
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Invalid -Xlog option '-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m', see error log for details.
Error: Could not create the Java Virtual Machine. …
Run Code Online (Sandbox Code Playgroud)

homebrew elasticsearch

6
推荐指数
1
解决办法
2649
查看次数

vue.config.js to (laravel) webpack.mix.js

I started using Vue using the Vue CLI template. In that template you create a file called 'vue.config.js' to define some settings. More to find here: https://cli.vuejs.org/guide/css.html#css-modules

I had a settings for an global css/sass file so all my components could access the variables (the file only contains vars).

vue.config.js:

module.exports = {
    // So we can use the template syntages in vue components (correct me if am wrong)
    runtimeCompiler: true,
    // CSS settings
    css: {
        loaderOptions: {
            sass: { …
Run Code Online (Sandbox Code Playgroud)

laravel vue.js laravel-mix

5
推荐指数
1
解决办法
516
查看次数