Tag : vue.js

Learning notes:State Management and Vuex State Management and Vuex Non-parent and child components (cross-level components and sibling components) communicate using thebus(Central Event Bus) A method used to trigger and receive events to further communicate. A component can be divided into data (model) and views (view), the view will be updated automatically when the data is ..

Read more

Recommend reading the original textLearning notes:Vue instance Vue instance Communication between components < pdata-height = “265” data-theme-id = “0” data-slug-hash = “wjxlma” data-default-tab = “js, result” data-user = “whjin” data-embedded-version = “2” data-pen-title = “inter-component communication” class=”codepen”>See the PenCommunication between componentsby whjin (@whjin) onCodePen.</p><script async src=”https://static.codepen.io/ass …; ></script> User information table <p data-height=”365″ data-theme-id=”0″ data-slug-hash=”zjagOy” ..

Read more

BUG background Trigger environment MI 5 or MI 6 (samsung no problem) Nail 3.5.3 (Development Version No Problem) Webview [WebKit 537.36 Chrome 57.0.2987.132] (See the end of the article for identification methods) video.js 6.2.4+vue-video-player 4.0.3 Trigger condition Enter the video page and click on the full screen button (the screen cannot automatically cross the screen; ..

Read more

brief introduction Currently, the video live broadcast service supports three live broadcast protocols, namely RTMP, HLS and FLVThe following is from ariyun help center RTMPThe real-time messaging protocol, developed by Adobe, has not yet been incorporated into international standards (wikipedia). The protocol is versatile and can be used for both push and live broadcast. Its ..

Read more

Based onvue-cliOptimizedwebpackConfiguration It can be roughly divided into the following points viaexternalsConfigure to extract common libraries and reference external chains ConfigurationCommonsChunkPluginExtract common codes (vue-cli(already done) Make good use ofalias(vue-cliPart of it is configured) EnableDllPluginAndDllReferencePluginPrecompiled library files happypackStart a multi-core build project willwebpack-parallel-uglify-pluginTo replacewebpackin-houseUglifyJSFor code compression confusion UpgradewebpackTo version 3.x onScope Hoisting externals Document addresshttps://doc.webpack-china.org … ..

Read more