Uso o editor VSCode 1.50.1 para Ubuntu 18.04.
Em main.js
Na linha import VueResource from 'vue-resource';
aparece um '...' depois do From. Coloquei o mouse em cima do '...' e estava escrito:
module "/home/usuario/vueAula/alurapic2/node_modules/vue-resource/dist/vue-resource.common"
Could not find a declaration file for module 'vue-resource'. '/home/usuario/vueAula/alurapic2/node_modules/vue-resource/dist/vue-resource.common.js' implicitly has an 'any' type.
Try npm install @types/vue-resource
if it exists or add a new declaration (.d.ts) file containing declare module 'vue-resource';
ts(7016)
Fiz o npm install @types/vue-resource
e ao rodar, deu erro no site
Failed to compile.
./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-74b1de62","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/home/Home.vue Module not found: Error: Can't resolve './assets/logo.png' in '/home/usuario/vueAula/alurapic2/src/components/home' @ ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-74b1de62","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/home/Home.vue 113:30-58 @ ./src/components/home/Home.vue @ ./src/routes.js @ ./src/main.js @ multi (webpack)-dev-server/client?http://localhost:8081 webpack/hot/dev-server ./src/main.js
Pode me ajudar?
Queria o fonte utilizado nessa aula para comparar com o meu. Como pego?
Obrigado.