Skip to content

coworking-metz/tickets-manager-web

Repository files navigation

Tickets Manager Web

Manage members, services and collect stats from Le Poulailler - Coworking Metz.

Getting Started

These instructions will give you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Requirements for the software and other tools to build, test and push

  • Git - Version control system
  • Node - Cross-platform JavaScript runtime environment

Install

A step by step series of examples that tell you how to get a development environment running:

git clone git@github.com:coworking-metz/tickets-manager-web.git
cd tickets-manager-web
npm i

Start the project

npm run dev

Build locally

npm run build
npm run serve

Then go to http://localhost:9090

Update dependencies

npx npm-check-updates -i

Deploy

Everything is done through GitHub actions.

Troubleshoot

echarts

[vite]: Rollup failed to resolve import "echarts/core"

If you are having problem during build, use patch-package to patch the necessary lines (source) :

  • Change the following files accordingly

/node_modules/vue-echarts/dist/index.esm.js

@@ -1,5 +1,5 @@
 import { watch, unref, inject, computed, watchEffect, Vue2, defineComponent, shallowRef, toRefs, getCurrentInstance, onMounted, onBeforeUnmount, h, nextTick } from 'vue-demi';
-import { throttle, init } from 'echarts/core';
+import { throttle, init } from 'echarts/core.js';

/node_modules/vue-echarts/package.json

@@ -1,6 +1,14 @@
 {
   "name": "vue-echarts",
   "version": "6.7.3",
+  "type": "module",
+  "exports": {
+    ".": {
+      "require": "./dist/index.cjs.js",
+      "import": "./dist/index.esm.js",
+      "types": "./dist/index.d.ts"
+    }
+  },
  • Then run
npx patch-package vue-echarts --exclude 'nothing'

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

⚙️ Manage members and collect stats

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages