这个项目存在一些问题,主进程没有热更新,可以直接自己下载热更新的插件,或者直接使用Electron-vite脚手架 因为我主要是系统学习一下Electron所以没有采取Electron-vite的脚手架,里面包含了一些自定义的窗体最小化,最大化,关闭,隐藏系统托盘,置顶等一些功能
- 📄 Docs
- 🚨 Issues
- 🏬 Store
- 🎮 Playground
- 💬 Discord
Set up your project using your preferred package manager. Use the corresponding command to install the dependencies:
Package Manager | Command |
---|---|
yarn | yarn install |
npm | npm install |
pnpm | pnpm install |
bun | bun install |
After completing the installation, your environment is ready for Vuetify development.
- 🖼️ Optimized Front-End Stack: Leverage the latest Vue 3 and Vuetify 3 for a modern, reactive UI development experience. Vue 3 | Vuetify 3
- 🗃️ State Management: Integrated with Pinia, the intuitive, modular state management solution for Vue.
- 🚦 Routing and Layouts: Utilizes Vue Router for SPA navigation and vite-plugin-vue-layouts for organizing Vue file layouts. Vue Router | vite-plugin-vue-layouts
- ⚡ Next-Gen Tooling: Powered by Vite, experience fast cold starts and instant HMR (Hot Module Replacement). Vite
- 🧩 Automated Component Importing: Streamline your workflow with unplugin-vue-components, automatically importing components as you use them. unplugin-vue-components
These features are curated to provide a seamless development experience from setup to deployment, ensuring that your Vuetify application is both powerful and maintainable.
This section covers how to start the development server and build your project for production.
To start the development server with hot-reload, run the following command. The server will be accessible at http://localhost:3000:
yarn dev
(Repeat for npm, pnpm, and bun with respective commands.)
Add NODE_OPTIONS='--no-warnings' to suppress the JSON import warnings that happen as part of the Vuetify import mapping. If you are on Node v21.3.0 or higher, you can change this to NODE_OPTIONS='--disable-warning=5401'. If you don't mind the warning, you can remove this from your package.json dev script.
To build your project for production, use:
yarn build
(Repeat for npm, pnpm, and bun with respective commands.)
Once the build process is completed, your application will be ready for deployment in a production environment.
This project is built with Vuetify, a UI Library with a comprehensive collection of Vue components. Vuetify is an MIT licensed Open Source project that has been made possible due to the generous contributions by our sponsors and backers. If you are interested in supporting this project, please consider:
- Requesting Enterprise Support
- Sponsoring John on Github
- Sponsoring Kael on Github
- Supporting the team on Open Collective
- Becoming a sponsor on Patreon
- Becoming a subscriber on Tidelift
- Making a one-time donation with Paypal
Copyright (c) 2016-present Vuetify, LLC