Compare commits
No commits in common. "d0d3deaaa487e98c583d31bf5b7e530e7a5381ff" and "48ac6365a5208835ba626f3b9ed8bc51d4701347" have entirely different histories.
d0d3deaaa4
...
48ac6365a5
@ -1 +0,0 @@
|
||||
NODE_ENV=
|
||||
959
thanasoft-front/package-lock.json
generated
959
thanasoft-front/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -16,8 +16,7 @@
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint",
|
||||
"typecheck": "vue-tsc --noEmit"
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-svg-core": "1.3.0",
|
||||
@ -54,12 +53,9 @@
|
||||
"vuex": "4.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/minimatch": "^6.0.0",
|
||||
"@types/node": "^24.6.0",
|
||||
"@vue/cli-plugin-babel": "4.5.15",
|
||||
"@vue/cli-plugin-eslint": "4.5.15",
|
||||
"@vue/cli-plugin-router": "4.5.15",
|
||||
"@vue/cli-plugin-typescript": "^4.5.15",
|
||||
"@vue/cli-service": "4.5.15",
|
||||
"@vue/compiler-sfc": "3.2.0",
|
||||
"@vue/eslint-config-prettier": "6.0.0",
|
||||
@ -69,8 +65,6 @@
|
||||
"eslint-plugin-vue": "7.0.0",
|
||||
"prettier": "2.2.1",
|
||||
"sass": "1.43.3",
|
||||
"sass-loader": "10.1.1",
|
||||
"typescript": "^5.9.2",
|
||||
"vue-tsc": "^3.1.0"
|
||||
"sass-loader": "10.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -333,8 +333,7 @@ const routes = [
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
// Use root base so the app works whether served at / or via /build/index.html
|
||||
history: createWebHistory("/"),
|
||||
history: createWebHistory(process.env.BASE_URL),
|
||||
routes,
|
||||
linkActiveClass: "active",
|
||||
});
|
||||
|
||||
35
thanasoft-front/src/shims-vue.d.ts
vendored
35
thanasoft-front/src/shims-vue.d.ts
vendored
@ -1,35 +0,0 @@
|
||||
declare module "*.vue" {
|
||||
import type { DefineComponent } from "vue";
|
||||
const component: DefineComponent<{}, {}, any>;
|
||||
export default component;
|
||||
}
|
||||
|
||||
declare module "*.png" {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
|
||||
declare module "*.jpg" {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
|
||||
declare module "*.jpeg" {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
|
||||
declare module "*.gif" {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
|
||||
declare module "*.webp" {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
|
||||
declare module "*.svg" {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
@ -2,6 +2,13 @@
|
||||
<default-dashboard />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
<script>
|
||||
import DefaultDashboard from "@/views/dashboards/Default.vue";
|
||||
|
||||
export default {
|
||||
name: "Home",
|
||||
components: {
|
||||
DefaultDashboard,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@ -203,7 +203,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setupe lang="ts">
|
||||
<script>
|
||||
import MiniStatisticsCard from "../../examples/Cards/MiniStatisticsCard.vue";
|
||||
import ReportsBarChart from "../../examples/Charts/ReportsBarChart.vue";
|
||||
import GradientLineChart from "../../examples/Charts/GradientLineChart.vue";
|
||||
|
||||
@ -1,30 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2018",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Node",
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
"jsx": "preserve",
|
||||
"allowJs": true,
|
||||
"checkJs": false,
|
||||
"noEmit": true,
|
||||
"strict": false,
|
||||
"skipLibCheck": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"]
|
||||
},
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.tsx",
|
||||
"src/**/*.vue",
|
||||
"src/shims-vue.d.ts"
|
||||
],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
@ -7,18 +7,6 @@ module.exports = {
|
||||
// Le index.html généré
|
||||
indexPath: "index.html",
|
||||
|
||||
// En prod on sert les assets depuis /build/, en dev on reste sur la racine
|
||||
publicPath: process.env.NODE_ENV === "production" ? "/build/" : "/",
|
||||
|
||||
// Dev server config to work locally alongside Laravel backend
|
||||
devServer: {
|
||||
historyApiFallback: true,
|
||||
// proxy API calls to Laravel (adjust if your API prefix differs)
|
||||
proxy: {
|
||||
"^/api": {
|
||||
target: "http://127.0.0.1:8000",
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
// Important : comme le build est servi depuis /build/
|
||||
publicPath: "/build/",
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user