SSL实验室分析:https://www.ssllabs.com/ssltest/analyze.html? d = amz2btc.com
我的桌面浏览器都打开了.移动Firefox打开这个很好.只有当我尝试使用移动Chrome时才会出现错误: err_cert_authority_invalid
我对SSL知之甚少,所以我无法理解SSL报告或为什么会出现这个错误.如果有人能够ELI5,那将是理想的.:)
我想为每个路线动态设置窗口的标题,因此在每个routes: []子对象中都有一个meta: { title: ... }对象。例如:
routes: [
{
path: 'profile/:id',
name: 'Profile',
component: Profile,
meta: {
title: function (to, cb) {
const profileId = parseInt(to.params.id);
// ... do stuff ...
}
}
}
]
Run Code Online (Sandbox Code Playgroud)
我称呼这个标题函数afterEach:
router.afterEach((to) => {
document.title = 'My Site';
if (to.meta && to.meta.title) {
to.meta.title(router.app, to, (result) => { document.title += ' | ' + result; });
}
});
Run Code Online (Sandbox Code Playgroud)
在... do stuff ...部分我想打电话从我的混入的方法GetAndStore.js叫loadProfile(profileId)。我已添加GetAndStore …
我的index.html文件中的违规行读取
<script src="main.dart" type="application/dart"></script>
Run Code Online (Sandbox Code Playgroud)
错误报告是:
Build error:
Transform polymer (PolymerBootstrapTransformer) on myproj_frontend|web/index.html threw error: Invalid argument(s): Illegal character in path
dart:core/uri.dart 855 Uri._checkWindowsPathReservedCharacters
dart:core/uri.dart 956 Uri._makeWindowsFileUrl
Run Code Online (Sandbox Code Playgroud)
项目的整个路径是
D:\Projects\MyProj\MyProj_Project
我正在使用Dart VM版本:1.16.0在Windows 7上从命令行构建
老实说,我不知道如何继续诊断或解决这个问题. 任何帮助将不胜感激.
我只缺了一步,我能感觉到......
我将phonegap插件添加到我的项目中:
cordova plugin add phonegap-plugin-push --save --variable SENDER_ID="-redacted-"
Run Code Online (Sandbox Code Playgroud)
确实它将条目保存到我的config.xml文件中.当我构建并运行浏览器版本时
cordova build myApp browser
cordova run myApp browser
Run Code Online (Sandbox Code Playgroud)
我收到错误消息: Error: exec proxy not found for :: PushNotification :: init
在浏览器项目文件夹中,下面myapp\platforms\browser\platform_www\plugins有一个phonegap-plugin-push\www包含单个push.js文件的文件夹,仅此而已. push.js调用本机插件(例如:) exec(success, fail, 'PushNotification', 'init', [options]);,但实际运行代码的插件文件是......好吧,我不知道.这可能是问题,你不觉得吗?:)
任何有助于在Chrome中运行的帮助都将是一个很大的帮助.在此之后我将继续测试Android.
phonegap-plugins cordova cordova-plugins phonegap-pushplugin
certificate ×1
cordova ×1
dart ×1
dart-html ×1
dart-pub ×1
javascript ×1
mixins ×1
ssl ×1
vue-mixin ×1
vue-router ×1
vue.js ×1