fix: postcss build failed

This commit is contained in:
SikongJueluo 2025-07-11 17:48:33 +08:00
parent eedec80927
commit fae07d9eae
No known key found for this signature in database
4 changed files with 10 additions and 7 deletions

View File

@ -86,7 +86,9 @@
> >
<User class="h-5 w-5" /> <User class="h-5 w-5" />
<span class="font-medium">{{ userName }}</span> <span class="font-medium">{{ userName }}</span>
<ChevronDownIcon class="icon transition-transform duration-300 dropdown-icon" /> <ChevronDownIcon
class="icon transition-transform duration-300 dropdown-icon"
/>
</div> </div>
<ul <ul
tabindex="0" tabindex="0"
@ -186,7 +188,7 @@ onMounted(() => {
}); });
</script> </script>
<style scoped> <style scoped lang="postcss">
@import "../assets/main.css"; @import "../assets/main.css";
.icon { .icon {

View File

@ -61,8 +61,8 @@ function handleTabChange(event: Event) {
} }
</script> </script>
<style scoped> <style scoped lang="postcss">
@import "../assets/main.css"; @import "@/assets/main.css";
.icon { .icon {
@apply h-4 w-4 opacity-70 mr-1.5; @apply h-4 w-4 opacity-70 mr-1.5;

View File

@ -221,7 +221,7 @@ onMounted(async () => {
<style scoped lang="postcss"> <style scoped lang="postcss">
/* 样式保持不变 */ /* 样式保持不变 */
@import "../assets/main.css"; @import "@/assets/main.css";
.animate-slideRight { .animate-slideRight {
animation: slideRight 0.3s ease-out forwards; animation: slideRight 0.3s ease-out forwards;

View File

@ -2,7 +2,8 @@
"extends": "@vue/tsconfig/tsconfig.dom.json", "extends": "@vue/tsconfig/tsconfig.dom.json",
"include": [ "include": [
"env.d.ts", "env.d.ts",
"src/**/*", "src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue" "src/**/*.vue"
], ],
"exclude": [ "exclude": [