Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ An admin dashboard for gorse recommender system derived from [shards-dashboard-v

## Quick Start

1. Install Node 18 and `yarn`.
2. Install dependencies by running `yarn`.
3. Run `yarn serve` to start the local development server.
1. Install Node 18+ and `pnpm`.
2. Install dependencies by running `pnpm install`.
3. Run `pnpm dev` to start the local development server.
4. Run `pnpm build` to create a production bundle.

> - The build might fail if you are using newer versions of Node.
> - For Node 24+, legacy transitive dependency build scripts are skipped automatically via `pnpm.neverBuiltDependencies`.
> - [Node Version Manager](http://nvm.sh/) is recommended for managing multiple Node versions on a single machine.

## Usage
Expand Down
1 change: 0 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module.exports = {
presets: [
'@vue/app',
'@babel/preset-env',
],
};
18 changes: 18 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html class="h-100" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/favicon.ico" />
<link href="https://use.fontawesome.com/releases/v7.0.0/css/all.css" rel="stylesheet" />
<title>Gorse Dashboard</title>
</head>
<body class="h-100">
<noscript>
<strong>We're sorry but Gorse Dashboard doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
30 changes: 14 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"private": true,
"license": "MIT",
"scripts": {
"lint": "vue-cli-service lint",
"serve": "cross-env NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve",
"build": "cross-env NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build",
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "jest"
},
"dependencies": {
"@highlightjs/vue-plugin": "1.0.2",
"@highlightjs/vue-plugin": "^2.1.0",
"@logicflow/core": "^2.1.7",
"@logicflow/extension": "^2.1.9",
"@multiavatar/multiavatar": "^1.0.7",
Expand All @@ -24,30 +24,28 @@
"monaco-editor": "0.30.1",
"numeral": "^2.0.6",
"nunjucks": "^3.2.4",
"primevue": "^4.2.5",
"regenerator-runtime": "^0.14.1",
"shards-ui": "^2.1.0",
"shards-vue": "^1.0.4",
"vue": "^2.5.17",
"vue-router": "^3.0.1"
"vue": "^3.5.13",
"vue-router": "^4.5.0"
},
"devDependencies": {
"@babel/preset-env": "^7.1.0",
"@vue/cli-plugin-babel": "^3.0.3",
"@vue/cli-plugin-eslint": "^3.0.3",
"@vue/cli-service": "^3.0.3",
"@vue/eslint-config-airbnb": "^3.0.3",
"@vitejs/plugin-vue": "^5.2.1",
"autoprefixer": "^10.4.27",
"babel-jest": "^26.6.3",
"cross-env": "7",
"eslint-plugin-jest": "^24.3.6",
"jest": "^26.6.3",
"sass": "^1.97.0",
"sass-loader": "^7.0.1",
"ts-jest": "^26.5.6",
"vue-template-compiler": "^2.5.17"
"vite": "^5.4.14"
},
"vue": {
"devServer": {
"proxy": "http://localhost:8088"
}
"pnpm": {
"neverBuiltDependencies": [
"iltorb"
]
}
}
Loading
Loading