Спасайте, неделю убил на это, надо найти решение! - Python
Формулировка задачи:
В чем же может быть проблема?!
11% building modules 3/4 modules 1 active ...=0!C:\pycharm\duty\appweb\src\App.vueError: Failed to find '~normalize
.css'
in [
C:\pycharm\duty\appweb\src\sass,
C:\pycharm\duty\appweb\src
]
at resolveModule.catch.catch (C:\pycharm\duty\appweb\node_modules\postcss-import\lib\resolve-id.js:35:13)
at 94% asset optimization
ERROR Failed to compile with 3 errors 09:03:11
These dependencies were not found:
* components/layout/AuthLayout in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/App.vue
* components/layout/Layout in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/App.vue
* vuestic-theme/vuestic-components/vuestic-preloader/VuesticPreLoader.vue in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=sc
ript&index=0!./src/App.vue
To install them, you can run: npm install --save components/layout/AuthLayout components/layout/Layout vuestic-theme/vuestic-components/vuestic-preloader/Vues
ticPreLoader.vue
Решение задачи: «Спасайте, неделю убил на это, надо найти решение!»
textual
Листинг программы
- <template>
- <div id="app" class="app">
- <auth-layout v-if="isAuth"></auth-layout>
- <layout v-else></layout>
- </div>
- </template>
- <script>
- import Layout from './components/layout/Layout'
- import AuthLayout from 'components/layout/AuthLayout'
- import VuesticPreLoader
- from
- '~vuestic-theme/vuestic-components/vuestic-preloader/VuesticPreLoader.vue'
- import sass from './sass'
- export default {
- name: 'App',
- components: {
- Layout,
- AuthLayout,
- saass,
- VuesticPreLoader
- }
- // computed: {
- // // isAuth () {
- // // return this.$route.path.match('auth')
- // // }
- // }
- }
- </script>
- <style>
- @import "sass/main.scss";
- @import "~normalize.css/normalize.css"
- #app {
- font-family: 'Avenir', Helvetica, Arial, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- text-align: center;
- color: #2c3e50;
- margin-top: 60px;
- }
- body {
- height: 100%;
- #app {
- height: 100%;
- }
- }
- </style>
ИИ поможет Вам:
- решить любую задачу по программированию
- объяснить код
- расставить комментарии в коде
- и т.д