随便做做来练手,请多包涵
此项目使用Next.JS(一个基于React.JS的前端框架)撰写。如果运行环境没有Node.JS,请先下载Node.JS
启动开发服务器请使用如下指令:
npm install
npm run dev
# or
yarn dev
默认3000端口
目前next.config.js参考的腾讯云文档。其他部署环境可能需要更改
npm run build
npm run export
# or
npm run buildssg
Next.JS自动生成的"out"文件夹可直接用于部署静态网页
转Excel到Json需要Python3, pandas和openpyxl
目前歌曲信息储存于"./public/music_list_7.json"
金山文档输出Excel覆盖"./music_list_7.xlsx"并运行"./music_list_to_json.py"自动输出json文件覆盖"./public/music_list_7.json"
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.