Update configs
This commit is contained in:
parent
55cbde982e
commit
61c0fc5a8f
27
app.vue
27
app.vue
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<UApp>
|
||||
<UApp :locale="fa_ir">
|
||||
<NuxtLoadingIndicator />
|
||||
<NuxtRouteAnnouncer />
|
||||
<!-- <DevOnly> -->
|
||||
|
@ -27,17 +27,18 @@
|
|||
</UApp>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script setup lang="ts">
|
||||
import { fa_ir } from "@nuxt/ui/locale";
|
||||
// import { useCounterStore } from "~/stores/counter";
|
||||
// import { storeToRefs } from "pinia";
|
||||
|
||||
export default {
|
||||
// export default {
|
||||
// setup() {
|
||||
// definePageMeta({
|
||||
// colorMode: "light",
|
||||
// });
|
||||
// },
|
||||
mounted() {
|
||||
// mounted() {
|
||||
// access the `store` variable anywhere in the component ✨
|
||||
// const store = useCounterStore();
|
||||
// const { count, doubleCount } = storeToRefs(store);
|
||||
|
@ -52,13 +53,13 @@ export default {
|
|||
// console.info(this.$config.public.VITE_APP_NAME);
|
||||
// console.info(this.$config.public.VITE_BASE_URL);
|
||||
// console.info(this.$config.public.VITE_BASE_URL);
|
||||
},
|
||||
methods: {
|
||||
logSomeError(error) {
|
||||
console.info("logSomeError", error);
|
||||
},
|
||||
},
|
||||
};
|
||||
// },
|
||||
// methods: {
|
||||
// logSomeError(error) {
|
||||
// console.info("logSomeError", error);
|
||||
// },
|
||||
// },
|
||||
// };
|
||||
</script>
|
||||
|
||||
<!-- using scss -->
|
||||
|
@ -66,7 +67,7 @@ export default {
|
|||
<!-- // @use "~/assets/scss/main.scss"; -->
|
||||
<!-- </style> -->
|
||||
|
||||
<style>
|
||||
<!-- <style>
|
||||
.page-enter-active,
|
||||
.page-leave-active {
|
||||
transition: all 0.4s;
|
||||
|
@ -85,4 +86,4 @@ export default {
|
|||
.layout-leave-to {
|
||||
filter: grayscale(1);
|
||||
}
|
||||
</style>
|
||||
</style> -->
|
||||
|
|
BIN
assets/background.png
Normal file
BIN
assets/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 490 KiB |
11
assets/common/scss/_IRANSansX.scss
Normal file
11
assets/common/scss/_IRANSansX.scss
Normal file
|
@ -0,0 +1,11 @@
|
|||
@font-face {
|
||||
font-family: IRANSansX;
|
||||
src: url("../fonts/iransans/woff/IRANSansXFaNum-Bold.woff") format("woff"),
|
||||
url("../fonts/iransans/woff2/IRANSansXFaNum-Bold.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: IRANSansX;
|
||||
src: url("../fonts/iransans/woff/IRANSansXFaNum-Regular.woff") format("woff"),
|
||||
url("../fonts/iransans/woff2/IRANSansXFaNum-Regular.woff2") format("woff2");
|
||||
}
|
|
@ -1,158 +1,2 @@
|
|||
//@import "fonts/niafam/style.scss";
|
||||
@import "../fonts/tavasi/style";
|
||||
@import "../img/icomoon/style";
|
||||
|
||||
// @font-face {
|
||||
// font-family: 'yekan-regular';
|
||||
// src: url('../fonts/iranyekan/fonts/ttf/IRANYekanWebRegular.ttf');
|
||||
// src: url('../fonts/iranyekan/fonts/eot/IRANYekanWebRegular.eot') format('embedded-opentype'),
|
||||
// url('../fonts/iranyekan/fonts/ttf/IRANYekanWebRegular.ttf') format('truetype'),
|
||||
// url('../fonts/iranyekan/fonts/woff/IRANYekanWebRegular.woff') format('woff'),
|
||||
// url('../fonts/iranyekan/fonts/woff2/IRANYekanWebRegular.woff2') format('woff');
|
||||
|
||||
// }
|
||||
// @font-face {
|
||||
// font-family: 'yekan-medium';
|
||||
// src: url('../fonts/iranyekan/fonts/ttf/IRANYekanWebMedium.ttf');
|
||||
// src: url('../fonts/iranyekan/fonts/eot/IRANYekanWebMedium.eot') format('embedded-opentype'),
|
||||
// url('../fonts/iranyekan/fonts/ttf/IRANYekanWebMedium.ttf') format('truetype'),
|
||||
// url('../fonts/iranyekan/fonts/woff/IRANYekanWebMedium.woff') format('woff'),
|
||||
// url('../fonts/iranyekan/fonts/woff2/IRANYekanWebMedium.woff2') format('woff');
|
||||
// }
|
||||
|
||||
// @font-face {
|
||||
// font-family: 'niafam';
|
||||
// src: url('../fonts/niafam.eot');
|
||||
// src: url('../fonts/niafam.eot?2cp7ya#iefix') format('embedded-opentype'),
|
||||
// url('../fonts/niafam.ttf?2cp7ya') format('truetype'),
|
||||
// url('../fonts/niafam.woff?2cp7ya') format('woff'),
|
||||
// url('../fonts/niafam.svg?2cp7ya#niafam') format('svg');
|
||||
// font-weight: normal;
|
||||
// font-style: normal;
|
||||
// font-display: block;
|
||||
// }
|
||||
|
||||
@font-face {
|
||||
font-family: IRANSansX;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
src: url("../fonts/iransans/woff/IRANSansXFaNum-Bold.woff") format("woff"),
|
||||
url("../fonts/iransans/woff2/IRANSansXFaNum-Bold.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: IRANSansX;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
src: url("../fonts/iransans/woff/IRANSansXFaNum-Regular.woff") format("woff"),
|
||||
url("../fonts/iransans/woff2/IRANSansXFaNum-Regular.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: sahel;
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-FD.eot");
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-FD.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-FD.woff2") format("woff2"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-FD.woff") format("woff"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-FD.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: sahel-bold;
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Bold-FD.eot");
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Bold-FD.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Bold-FD.woff2") format("woff2"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Bold-FD.woff") format("woff"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Bold-FD.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: sahel-light;
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Light-FD.eot");
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Light-FD.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Light-FD.woff2") format("woff2"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Light-FD.woff") format("woff"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Light-FD.ttf") format("truetype");
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: sahel-semi-bold;
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-SemiBold-FD.eot");
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-SemiBold-FD.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-SemiBold-FD.woff2") format("woff2"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-SemiBold-FD.woff") format("woff"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-SemiBold-FD.ttf") format("truetype");
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: sahel-black;
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Black-FD.eot");
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Black-FD.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Black-FD.woff2") format("woff2"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Black-FD.woff") format("woff"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Black-FD.ttf") format("truetype");
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
// @font-face {
|
||||
// font-family: sahel;
|
||||
// src: url("../fonts/sahel/Sahel.ttf");
|
||||
// src: url("../fonts/sahel/Sahel.eot") format("embedded-opentype"),
|
||||
// url("../fonts/sahel/Sahel.ttf") format("truetype"),
|
||||
// url("../fonts/sahel/Sahel.woff") format("woff");
|
||||
// }
|
||||
|
||||
// @font-face {
|
||||
// font-family: "sahel-bold";
|
||||
// src: url("../fonts/sahel/Sahel-Bold.ttf");
|
||||
// src: url("../fonts/sahel/Sahel-Bold.eot") format("embedded-opentype"),
|
||||
// url("../fonts/sahel/Sahel-Bold.woff") format("woff");
|
||||
// }
|
||||
|
||||
// @font-face {
|
||||
// font-family: "sahel-black";
|
||||
// src: url("../fonts/sahel/Sahel-Black.ttf");
|
||||
// src: url("../fonts/sahel/Sahel-Black.eot") format("embedded-opentype"),
|
||||
// url("../fonts/sahel/Sahel-Black.woff") format("woff");
|
||||
// }
|
||||
|
||||
// @font-face {
|
||||
// font-family: "sahel-light";
|
||||
// src: url("../fonts/sahel/Sahel-Light.ttf");
|
||||
// }
|
||||
|
||||
// @font-face {
|
||||
// font-family: "sahel-semi-bold";
|
||||
// src: url("../fonts/sahel/Sahel-SemiBold.ttf");
|
||||
// }
|
||||
|
||||
// anjoman
|
||||
|
||||
// @font-face {
|
||||
// font-family: 'Anjoman';
|
||||
// src: url('../fonts/anjoman/Anjoman-Medium/Anjoman-Medium.eot');
|
||||
// src: url('../fonts/anjoman/Anjoman-Medium/Anjoman-Medium.eot?2cp7ya#iefix') format('embedded-opentype'),
|
||||
// url('../fonts/anjoman/Anjoman-Medium/Anjoman-Medium.ttf?2cp7ya') format('truetype'),
|
||||
// url('../fonts/anjoman/Anjoman-Medium/Anjoman-Medium.woff?2cp7ya') format('woff'),
|
||||
// }
|
||||
.sahel-semi-bold {
|
||||
font-family: sahel-semi-bold;
|
||||
}
|
||||
.sahel-bold {
|
||||
font-family: sahel-bold;
|
||||
}
|
||||
.sahel-light {
|
||||
font-family: sahel-light;
|
||||
}
|
||||
.sahel-black {
|
||||
font-family: sahel-black;
|
||||
}
|
||||
|
|
67
assets/common/scss/_sahel.scss
Normal file
67
assets/common/scss/_sahel.scss
Normal file
|
@ -0,0 +1,67 @@
|
|||
@font-face {
|
||||
font-family: sahel;
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-FD.eot");
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-FD.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-FD.woff2") format("woff2"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-FD.woff") format("woff"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-FD.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: sahel-bold;
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Bold-FD.eot");
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Bold-FD.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Bold-FD.woff2") format("woff2"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Bold-FD.woff") format("woff"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Bold-FD.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: sahel-light;
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Light-FD.eot");
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Light-FD.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Light-FD.woff2") format("woff2"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Light-FD.woff") format("woff"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Light-FD.ttf") format("truetype");
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: sahel-semi-bold;
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-SemiBold-FD.eot");
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-SemiBold-FD.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-SemiBold-FD.woff2") format("woff2"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-SemiBold-FD.woff") format("woff"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-SemiBold-FD.ttf") format("truetype");
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: sahel-black;
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Black-FD.eot");
|
||||
src: url("../fonts/sahel/Farsi-Digits/Sahel-Black-FD.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Black-FD.woff2") format("woff2"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Black-FD.woff") format("woff"),
|
||||
url("../fonts/sahel/Farsi-Digits/Sahel-Black-FD.ttf") format("truetype");
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.sahel-semi-bold {
|
||||
font-family: sahel-semi-bold;
|
||||
}
|
||||
.sahel-bold {
|
||||
font-family: sahel-bold;
|
||||
}
|
||||
.sahel-light {
|
||||
font-family: sahel-light;
|
||||
}
|
||||
.sahel-black {
|
||||
font-family: sahel-black;
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
/* @import "tailwindcss/tailwind.css"; */
|
||||
|
||||
@import "tailwindcss";
|
||||
@import "@nuxt/ui";
|
||||
|
||||
@theme {
|
||||
--font-sans: "Public Sans", sans-serif;
|
||||
}
|
||||
/* @variant {
|
||||
|
||||
} */
|
||||
/* @source */
|
77
assets/logo.svg
Normal file
77
assets/logo.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 304 KiB |
|
@ -1,4 +1,6 @@
|
|||
// import { fileURLToPath } from "url";
|
||||
import fs from 'fs-extra';
|
||||
import path from 'path';
|
||||
|
||||
let sassEnvVariables = "";
|
||||
for (let e in import.meta.env) {
|
||||
|
@ -12,10 +14,23 @@ const buildName = import.meta.env.VITE_BUILD_NAME;
|
|||
let mainStyle = `~/assets/common/scss/${buildName}-styles.scss`;
|
||||
|
||||
if (buildName == "hadith")
|
||||
mainStyle = `~/systems/${buildName}_ui/assets/${buildName}/scss/${buildName}.scss`;
|
||||
mainStyle = `~/systems/${buildName}_ui/assets/${buildName}/scss/${buildName}.css`;
|
||||
|
||||
export default defineNuxtConfig({
|
||||
hooks: {
|
||||
'build:before': () => {
|
||||
const sourceDir = path.resolve(__dirname, `systems/${buildName}_ui/assets/${buildName}/images`); // Source folder (e.g., assets/images)
|
||||
const targetDir = path.resolve(__dirname, 'public/img'); // Target folder (e.g., public/images)
|
||||
|
||||
// Ensure the target directory exists
|
||||
fs.ensureDirSync(targetDir);
|
||||
|
||||
// Copy files from source to target
|
||||
fs.copySync(sourceDir, targetDir);
|
||||
|
||||
console.log('Files copied successfully!');
|
||||
},
|
||||
|
||||
"pages:extend"(pages) {
|
||||
// Add custom routes
|
||||
pages.push(
|
||||
|
@ -122,6 +137,7 @@ export default defineNuxtConfig({
|
|||
// mode: 'init'
|
||||
// },
|
||||
image: {
|
||||
|
||||
inject: true,
|
||||
quality: 80,
|
||||
format: ["webp", "jpeg", "jpg", "png", "gif", "avif"],
|
||||
|
@ -170,8 +186,7 @@ export default defineNuxtConfig({
|
|||
},
|
||||
css: [
|
||||
mainStyle,
|
||||
"~/assets/css/tailwind.css",
|
||||
"vue3-persian-datetime-picker/src/picker/assets/scss/style.scss",
|
||||
// "vue3-persian-datetime-picker/src/picker/assets/scss/style.scss",
|
||||
],
|
||||
alias: {
|
||||
"@apis": "~/apis",
|
||||
|
|
7
package-lock.json
generated
7
package-lock.json
generated
|
@ -23,6 +23,7 @@
|
|||
"export-from-json": "^1.7.4",
|
||||
"file-saver": "^2.0.5",
|
||||
"floating-vue": "^5.2.2",
|
||||
"fs-extra": "^11.3.0",
|
||||
"i18next-browser-languagedetector": "^8.0.0",
|
||||
"i18next-vue": "^5.0.0",
|
||||
"jalali-moment": "^3.3.11",
|
||||
|
@ -8774,9 +8775,9 @@
|
|||
"optional": true
|
||||
},
|
||||
"node_modules/fs-extra": {
|
||||
"version": "11.2.0",
|
||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
|
||||
"integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
|
||||
"version": "11.3.0",
|
||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz",
|
||||
"integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"graceful-fs": "^4.2.0",
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
"export-from-json": "^1.7.4",
|
||||
"file-saver": "^2.0.5",
|
||||
"floating-vue": "^5.2.2",
|
||||
"fs-extra": "^11.3.0",
|
||||
"i18next-browser-languagedetector": "^8.0.0",
|
||||
"i18next-vue": "^5.0.0",
|
||||
"jalali-moment": "^3.3.11",
|
||||
|
|
BIN
public/img/background.png
Normal file
BIN
public/img/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 490 KiB |
46
public/img/background.svg
Normal file
46
public/img/background.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 783 KiB |
9
public/img/chevron-down.svg
Normal file
9
public/img/chevron-down.svg
Normal file
|
@ -0,0 +1,9 @@
|
|||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M9.99976 13C9.99976 13 12 14 13.5 15.5C15.1492 17.1492 15.9999 19.0001 15.9999 19.0001C15.9999 19.0001 17 17 18.5 15.5C20.2213 13.7787 22 13 22 13" stroke="url(#paint0_linear_67_2998)" stroke-linecap="round"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_67_2998" x1="10.5369" y1="13.5372" x2="17.6646" y2="18.162" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#4BE8AE"/>
|
||||
<stop offset="1" stop-color="#00A762"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 550 B |
77
public/img/logo.svg
Normal file
77
public/img/logo.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 304 KiB |
|
@ -22,12 +22,16 @@ import type {
|
|||
|
||||
import type { researchTerms } from "~/types/researchTypes";
|
||||
import type { ActiveEntityViewSchema, ActiveTab } from "~/types/entityType";
|
||||
import type { Domain } from "~/types/searchTypes";
|
||||
|
||||
export const useCommonStore = defineStore("commonStore", {
|
||||
persist: {
|
||||
storage: piniaPluginPersistedstate.localStorage(),
|
||||
},
|
||||
state: () => ({
|
||||
// from search
|
||||
domainActive: undefined as Domain | undefined,
|
||||
|
||||
diffType: undefined,
|
||||
|
||||
activeTab: undefined as ActiveTab | undefined,
|
||||
|
@ -82,6 +86,11 @@ export const useCommonStore = defineStore("commonStore", {
|
|||
sidebarMenu: {},
|
||||
}),
|
||||
getters: {
|
||||
// from search
|
||||
domainActiveGetter(state) {
|
||||
return state.domainActive;
|
||||
},
|
||||
|
||||
diffTypeGetter(diffType) {
|
||||
return diffType;
|
||||
},
|
||||
|
@ -136,6 +145,10 @@ export const useCommonStore = defineStore("commonStore", {
|
|||
isShowHilightGetter: (state) => state.isShowHilight,
|
||||
},
|
||||
actions: {
|
||||
// from search
|
||||
domainActiveSetter(domain = undefined) {
|
||||
this.domainActive = domain;
|
||||
},
|
||||
diffTypeSetter(diffType) {
|
||||
this.diffType = diffType;
|
||||
},
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit d1bab369112740397eadb89aa3439b713aafad64
|
||||
Subproject commit 631e6cce32be9fb2ffe572fe35e5543d3597ba80
|
|
@ -1 +1 @@
|
|||
Subproject commit e70f3d742249d7bc0ca196abe9c4a05303d01474
|
||||
Subproject commit 79d854a9912878646da9eba6a06eedb0bbd0bf90
|
24
tailwind.config.js
Normal file
24
tailwind.config.js
Normal file
|
@ -0,0 +1,24 @@
|
|||
module.exports = {
|
||||
prefix: 'tw-',
|
||||
content: [
|
||||
'./components/**/*.{js,vue,ts}',
|
||||
'./layouts/**/*.vue',
|
||||
'./pages/**/*.vue',
|
||||
'./plugins/**/*.{js,ts}',
|
||||
'./nuxt.config.{js,ts}',
|
||||
],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
purge: {
|
||||
enabled: process.env.NODE_ENV === 'production',
|
||||
content: [
|
||||
'./components/**/*.{js,vue,ts}',
|
||||
'./layouts/**/*.vue',
|
||||
'./pages/**/*.vue',
|
||||
'./plugins/**/*.{js,ts}',
|
||||
'./nuxt.config.{js,ts}',
|
||||
],
|
||||
},
|
||||
};
|
|
@ -4166,10 +4166,10 @@ fs-constants@^1.0.0:
|
|||
resolved "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz"
|
||||
integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==
|
||||
|
||||
fs-extra@^11.1.0, fs-extra@^11.2.0:
|
||||
version "11.2.0"
|
||||
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz"
|
||||
integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==
|
||||
fs-extra@^11.1.0, fs-extra@^11.2.0, fs-extra@^11.3.0:
|
||||
version "11.3.0"
|
||||
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz"
|
||||
integrity sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==
|
||||
dependencies:
|
||||
graceful-fs "^4.2.0"
|
||||
jsonfile "^6.0.1"
|
||||
|
|
Loading…
Reference in New Issue
Block a user