我使用官方VUE-CLI棚架,並試圖包括normalize.css在App.vue這樣我應該如何在.vue文件中包含css文件?
<style scoped>
@import "/node_modules/normalize.css/normalize.css";
.app {
font-family: Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
max-width: 1000px;
margin: auto;
font-size: 16px;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
}
</style>
但在編譯CSS後不會在風格標籤或者作爲外部文件包括:
那麼,我該如何正確地包含這個或另一個CSS文件?