Спасайте, неделю убил на это, надо найти решение! - 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
Листинг программы
  1. <template>
  2.   <div id="app" class="app">
  3.     <auth-layout v-if="isAuth"></auth-layout>
  4.     <layout v-else></layout>
  5.   </div>
  6. </template>
  7.  
  8. <script>
  9. import Layout from './components/layout/Layout'
  10. import AuthLayout from 'components/layout/AuthLayout'
  11. import VuesticPreLoader
  12.   from
  13.     '~vuestic-theme/vuestic-components/vuestic-preloader/VuesticPreLoader.vue'
  14. import sass from './sass'
  15.  
  16. export default {
  17.   name: 'App',
  18.   components: {
  19.     Layout,
  20.     AuthLayout,
  21.     saass,
  22.     VuesticPreLoader
  23.   }
  24.   // computed: {
  25.   //   // isAuth () {
  26.   //   //   return this.$route.path.match('auth')
  27.   //   // }
  28.   // }
  29. }
  30. </script>
  31.  
  32. <style>
  33. @import "sass/main.scss";
  34. @import "~normalize.css/normalize.css"
  35. #app {
  36.   font-family: 'Avenir', Helvetica, Arial, sans-serif;
  37.   -webkit-font-smoothing: antialiased;
  38.   -moz-osx-font-smoothing: grayscale;
  39.   text-align: center;
  40.   color: #2c3e50;
  41.   margin-top: 60px;
  42. }
  43.   body {
  44.     height: 100%;
  45.     #app {
  46.       height: 100%;
  47.     }
  48.   }
  49. </style>

ИИ поможет Вам:


  • решить любую задачу по программированию
  • объяснить код
  • расставить комментарии в коде
  • и т.д
Попробуйте бесплатно

Оцени полезность:

9   голосов , оценка 4 из 5

Нужна аналогичная работа?

Оформи быстрый заказ и узнай стоимость

Бесплатно
Оформите заказ и авторы начнут откликаться уже через 10 минут
Похожие ответы