11 2022 档案
摘要:vue2.0项目本地运行正常打包后访问不到css文件或者image图片、或者html空白,需要更改2个配置文件 1、需要把这个index.js文件的这属性 改成 既/改成 ./ 2、utils.js文件 添加一条红线的配置代码在这里: publicPath: '../../'
阅读全文
摘要:引用自 https://github.com/cgygd/vue2-countdown 页面中使用 <count-down v-on:start_callback="countDownS_cb(1)" v-on:end_callback="countDownE_cb(1)" :currentTime
阅读全文
摘要:首先在main.js中添加如下代码 const vuethis = new Vue({ el: '#app', router, render: h => h(App) // components: { App }, // template: '<App/>' }) export default vu
阅读全文