第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定

vue3.0修改目錄報錯

老師您好,我新創(chuàng)建VUE3.0,將src改為examples時,報錯了,不知如何處理,還麻煩幫看一眼。


error? in ./examples/main.ts


Syntax Error: Error: error while parsing tsconfig.json



ERROR in D:\Wonders\SprintBoot\JaxJava\demov3\tsconfig.json

./examples/main.ts D:\Wonders\SprintBoot\JaxJava\demov3\tsconfig.json

[tsl] ERROR

? ? ? TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["src/**/*.ts","src/**/*.tsx","src/**/*.vue","tests/**/*.ts","tests/**/*.tsx"]' and 'exclude' paths were '["node_modules"]'.


ERROR in ./examples/main.ts

Module build failed (from ./node_modules/ts-loader/index.js):

Error: error while parsing tsconfig.json

? ? at Object.loader (D:\Wonders\SprintBoot\JaxJava\demov3\node_modules\ts-loader\dist\index.js:17:18)


webpack compiled with 2 errors

ERROR in tsconfig.json

TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["src/**/*.ts","src/**/*.tsx","src/**/*.vue","tests/**/*.ts","tests/**/*.tsx"]' and 'exclude' paths were '["node_modules"]'.



tsconfig.json

{
??"compilerOptions":?{
????"target":?"es5",
????"module":?"esnext",
????"strict":?true,
????"jsx":?"preserve",
????"importHelpers":?true,
????"moduleResolution":?"node",
????"skipLibCheck":?true,
????"esModuleInterop":?true,
????"allowSyntheticDefaultImports":?true,
????"forceConsistentCasingInFileNames":?true,
????"useDefineForClassFields":?true,
????"sourceMap":?true,
????"baseUrl":?".",
????"types":?[
??????"webpack-env"
????],
????"paths":?{
??????"@/*":?[
????????"examples/*"
??????]
????},
????"lib":?[
??????"esnext",
??????"dom",
??????"dom.iterable",
??????"scripthost"
????]
??},
??"include":?[
????"examples/**/*.ts",
????"examples/**/*.tsx",
????"examples/**/*.vue",
????"tests/**/*.ts",
????"tests/**/*.tsx"
??],
??"exclude":?[
????"node_modules"
??]
}



正在回答

1 回答

是不是文件路勁寫的不對???

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消
玩轉(zhuǎn)組件庫搭建全流程
  • 參與學(xué)習(xí)       8710    人
  • 解答問題       43    個

本課程通過圖文+視頻的多元教學(xué)方式,帶大家從零實現(xiàn)一個Vue的組件庫。

進(jìn)入課程

vue3.0修改目錄報錯

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號