Leskov Oleg 5 天之前
父节点
当前提交
7856da44d9
共有 2 个文件被更改,包括 6 次插入3 次删除
  1. 3 3
      app/app.coffee
  2. 3 0
      app/app.pug

+ 3 - 3
app/app.coffee

@@ -6,10 +6,10 @@ document.head.insertAdjacentHTML 'beforeend', '<meta name="viewport" content="wi
 #tailwind.config = require 'tailwind.config.js'
 
 # Подключение основных стилей
-document.head.insertAdjacentHTML('beforeend', '<style type="text/tailwindcss" file="main.css">' + stylFns['main.css'] + '</style>')
+document.head.insertAdjacentHTML('beforeend', '<style type="text/css" file="main.css">' + stylFns['main.css'] + '</style>')
 
-document.head.insertAdjacentHTML('beforeend', '<style type="text/tailwindcss" file="app/DesignTokens.styl">' + stylFns['app/DesignTokens.styl'] + '</style>')
-document.head.insertAdjacentHTML('beforeend', '<style type="text/tailwindcss" file="app/app.styl">' + stylFns['app/app.styl'] + '</style>')
+document.head.insertAdjacentHTML('beforeend', '<style type="text/css" file="app/DesignTokens.styl">' + stylFns['app/DesignTokens.styl'] + '</style>')
+document.head.insertAdjacentHTML('beforeend', '<style type="text/css" file="app/app.styl">' + stylFns['app/app.styl'] + '</style>')
 
 
 

+ 3 - 0
app/app.pug

@@ -1,6 +1,9 @@
+extends ../layout.pug
 include ../pug/base.pug
 include ../pug/bem.pug
 
+
+
 div(class="min-h-screen bg-surface transition-colors duration-300" :class="{'dark': _.appState.currentTheme === 'dark'}")
     div(v-if="appState.loading" class="flex items-center justify-center min-h-screen")
         div(class="text-center")