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