uniapp+vue3+ts 使用pinia報錯"hasInjectionContext" is not exported by "node_modules/vue-demi/lib/index.mjs", imported by "node_modules/pinia/dist/pinia.mjs Read More
錯誤 Vue Template execution failed: ReferenceError: BASE_URL is not defined ReferenceError: BASE_URL is not defined 解決 替換 index.html 替換前 <link rel="icon Read More
"hasInjectionContext" is not exported by "node_modules/vue-demi/lib/index.mjs", imported by "node_modules/pinia/dist/pinia.mjs". 11:36:19.397 at ../no Read More
前言 在前端開發(fā)中,除了常用的UI組件庫以外,我們還會涉及到基于公司業(yè)務(wù),需要定制化開發(fā)一些業(yè)務(wù)組件,還有隨著項目的增多,開發(fā)人員的增多,為了提高工作效率,我們就需要統(tǒng)一管理好已開發(fā)好的業(yè)務(wù)組件。這時候我們就需要搭建自己的組件庫,因為涉及到一些公司的業(yè)務(wù),我們只能發(fā)布到私服的npm上。下面幾點是我們 Read More