| 中文版点我 |
With the rapid launch of PCL branch versions, UI restoration has become a major challenge for many developers. PCL.Proto emerges as a solution.
This project is modeled after PCL2 and PCL2-CE, with a goal of providing a standardized prototype sample for each PCL branch version. The repository is built using Vue3, and if your project uses Webview as the frontend, you can directly reference this project.
The project is also ready for preview at PCL.Proto.
If your PCL branch version or your custom launcher is not based on Web technology, referencing this repository directly might have limited convenience. You may head to js.design - 「PCL.Prototype」 to view the specific application prototype, export the cut image or refer to the style code generated by it.
In case you would like to modify the prototype design file, you are welcome to click this link to join the team.
- First, please ensure that
nodejsorbunis installed on your device. If you usebunas the package manager, you can replace allpnpmcommands below withbun. - The device should have a usable rust toolchain installed. For Windows, the MSVC version of the toolchain is required. Additionally, ensure that you have installed the MSVC suite from the C++ development tools and the Windows SDK in the Visual Studio Installer. For macOS, make sure that Xcode is installed.
Note
If you have any questions, please refer to Prerequisites | Tauri.
After cloning this project, you need to run the following command to initialize the submodule:
git submodule update --init --recursiveCurrently, the project is a Tauri + Vue3 + Vite project. Before running the project for the first time, please run the following command to install the front-end dependencies:
pnpm installThe backend dependencies will be managed by cargo automatically.
Then, use pnpm run tauri icon to automatically generate icons. You can then start the development and build processes.
Warning
The icons in this repository are excluded. Therefore, if you do not perform this step after cloning the repository, the icons folder will be empty, and the Tauri application will throw an error when it starts!
pnpm run tauri devIf only bun is installed on your device but nodejs is not installed, please change thebuild/foreBuildCommand content in src-auri/tauri.conf.json from pnpm run build to bun run build-only.
I want to make this project into a Vue component npm package, but I don't know how to do it. If there are any experts who can do component libraries, please contact me! Thank you!
If I have seen further it is by standing on ye shoulder of Giants. —— Sir Isaac Newton
