原创 unknown action type: xxx

[vuex] unknown action type: xxx [vuex] unknown action type: xxx 註釋掉 export default { // namespaced: true, state,

原创 微信小程序自定義組件

組件 component-name component-name.json { "component": true, "usingComponents": {} } component-name.js Component({

原创 React Native 指定模擬器手機型號 --simulator

控制指定型號即可: react-native run-ios --simulator="iPhone X"

原创 Mac npm react-native-cli 報錯(checkPermissions Missing write access to /usr/local/lib/node_modules)

Missing write access to /usr/local/lib/node_modules npm WARN checkPermissions Missing write access to /usr/local/lib/

原创 Vue packages version mismatch:

Vue packages version mismatch: [email protected] [email protected] This may cause things to work incorrectly. Make

原创 H5頁面滑動卡頓

解決辦法 body { -webkit-overflow-scrolling: touch;overflow-scrolling: touch;}

原创 swiper pagination 渲染不出來

swiper pagination 渲染不出來解決辦法 解決辦法 <script type="text/javascript"> var swiper = new Swiper('.swiper-container', {