Fully replace gulp with vite

This commit is contained in:
Johannes Zellner
2024-10-04 17:43:45 +02:00
parent 1b00e0f254
commit 2300e1baee
84 changed files with 2182 additions and 22704 deletions

13
dashboard/src/modules.js Normal file
View File

@@ -0,0 +1,13 @@
window.cloudronApiOrigin = import.meta.env.VITE_API_ORIGIN || '';
import '@fortawesome/fontawesome-free/css/all.min.css';
import '@fontsource/noto-sans';
import 'bootstrap-sass';
import Chart from 'chart.js/auto';
import * as moment from 'moment/dist/moment.js';
// attach to global for compatibility
window.moment = moment.default;
window.Chart = Chart;