Vuejs错误:模块构建失败:错误:找不到模块“解决”

时间:2018-09-13 17:14:53

标签: vuejs2 vue-component vue-loader

每当我运行yarn dev

时,我的所有组件都会出现这些错误。
  

模块构建失败:错误:找不到模块“解析”

enter image description here

我什至没有使用任何resolve模块。这是一个示例组件。没有'resolve'模块的踪迹。

<template lang="pug">
  v-app#app
    router-view
</template>

<script>
  export default {
    name: 'App'
  }
</script>

<style>
#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  font-family: 'News Cycle', sans-serif !important;
}

h1 {
  font-size: 40px !important;
  line-height: 1;
}

p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.justify {
  text-align: justify !important;
}

.hidden {
  display: none;
}
</style>

0 个答案:

没有答案
相关问题