diff --git a/console/atest-ui/src/assets/main.css b/console/atest-ui/src/assets/main.css index 81f557c0..4a332bcc 100644 --- a/console/atest-ui/src/assets/main.css +++ b/console/atest-ui/src/assets/main.css @@ -1,5 +1,9 @@ @import './base.css'; +@tailwind base; +@tailwind components; +@tailwind utilities; + #app { margin: 0 auto; height: 100vh; diff --git a/console/atest-ui/src/views/TestingHistoryPanel.vue b/console/atest-ui/src/views/TestingHistoryPanel.vue index aad566ae..ef3a2df8 100644 --- a/console/atest-ui/src/views/TestingHistoryPanel.vue +++ b/console/atest-ui/src/views/TestingHistoryPanel.vue @@ -2,6 +2,7 @@ import TestCase from './TestCase.vue' import TemplateFunctions from './TemplateFunctions.vue' import { ref, watch } from 'vue' +import { API } from './net' import { ElTree, ElMessage } from 'element-plus' import { Refresh } from '@element-plus/icons-vue' import { Cache } from './cache' @@ -231,13 +232,13 @@ const viewName = ref('') - diff --git a/console/atest-ui/tailwind.config.js b/console/atest-ui/tailwind.config.js index d947ab17..55d1fb97 100644 --- a/console/atest-ui/tailwind.config.js +++ b/console/atest-ui/tailwind.config.js @@ -1,6 +1,9 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - content: [], + content: [ + "./index.html", + "./src/**/*.{vue,js,ts,jsx,tsx}", + ], theme: { extend: {}, },