npm install
test API append [ https://api.6xr.cc/api/uploads/data.json ] ❌
⚠ 这个api不定时会无效,如果无效请使用json-server
⚠ This api will be invalid from time to time, if invalid, please use json-server
If your computer does not have the json-server service installed
You need to download and install json-server globally
After the installation is complete, open ./src/data in the project directory
Run json-server data.json in the console
After running you will get an address similar to http://localhost:3000/data,
Copy it to open line 47 of src/views/RunModule.vue and replace it
Then reopen a console window and run npm run serve to run the project
-----------------------------------------------------------------------------
如果你的计算机没有安装json-server服务
你需要去下载并全局安装json-server
安装完成后打开项目目录的 ./src/data
在控制台运行 json-server data.json
运行完成后你将得到一个类似于 http://localhost:3000/data 的地址,
复制它打开 src/views/RunModule.vue 的 47行 ,把他替换
然后重新打开一个控制台窗口 运行 npm run serve 将项目运行
npm run serve
npm run build
npm run lint