mirror of
https://github.com/janishutz/fundamentals-of-webengineering.git
synced 2025-11-25 05:44:24 +00:00
Format
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"devDependencies": {
|
||||
"prettier": "^3.0.1",
|
||||
"typescript": "^5.1.6",
|
||||
"vite": "^4.4.9"
|
||||
"vite": "^7.1.9"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.4.2",
|
||||
|
||||
@@ -6,6 +6,7 @@ export type CSV_Data = Array<Record<string, unknown>>;
|
||||
|
||||
const convertCSVtoJSON = async ( csvText: string ) => {
|
||||
// Type cast OK, as the typing of the external library is not perfect.
|
||||
// NOTE: On transpilation to JS, it will be (more or less) disregarded anyway
|
||||
return ( await csv2json( csvText ) ) as CSV_Data;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import "@fortawesome/fontawesome-free/css/all.css";
|
||||
import "../css/layout.css";
|
||||
import "@picocss/pico/css/pico.min.css";
|
||||
import '@fortawesome/fontawesome-free/css/all.css';
|
||||
import '../css/layout.css';
|
||||
import '@picocss/pico/css/pico.min.css';
|
||||
|
||||
// TODO start here with the first entry point
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
export default {
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
port: 5173,
|
||||
allowedHosts: true,
|
||||
'server': {
|
||||
// host: '0.0.0.0',
|
||||
// port: 5173,
|
||||
// allowedHosts: true,
|
||||
'port': 8080
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user