一个简单的起始页项目,使用Vue 3和Tailwind CSS构建。可以自定义显示。
A simple start page project built with Vue 3 and Tailwind CSS. Customizable display.
- 自定义标题和背景图片
- 支持移动端背景图片
- 显示一言
- 自定义页脚信息
- 自定义顶部菜单
- 自定义站点列表
- Customizable title and background image
- Support for mobile background image
- Display a quote
- Customizable footer information
- Customizable top menu
- Customizable site list
git clone https://github.com/MarsRH/StartPage.git
cd startpagenpm installnpm run devnpm run buildnpm run previewgit clone https://github.com/MarsRH/StartPage.git
cd startpagenpm installnpm run devnpm run buildnpm run preview你可以在config.js文件中配置以下内容:
title: 页面标题backgroundImageUrl: 背景图片URLmoblieBackgroundImageUrl: 移动端背景图片URLshowOneWord: 是否显示一言oneWordUrl: 一言API URLshowFooter: 是否显示页脚footerText: 页脚文字topTitle: 顶部标题showMenu: 是否显示顶部菜单menu: 顶部菜单项sites: 站点列表
You can configure the following in the config.js file:
title: Page titlebackgroundImageUrl: Background image URLmoblieBackgroundImageUrl: Mobile background image URLshowOneWord: Whether to display a quoteoneWordUrl: Quote API URLshowFooter: Whether to display the footerfooterText: Footer texttopTitle: Top titleshowMenu: Whether to display the top menumenu: Top menu itemssites: Site list
startpage/
├── public/ # 公共资源
├── src/ # 源代码
│ ├── components/ # Vue组件
│ ├── App.vue # 主应用组件
│ └── main.js # 入口文件
├── config.js # 配置文件
├── package.json # 项目配置文件
├── README.md # 项目说明文件
└── vite.config.js # Vite配置文件
startpage/
├── public/ # Public resources
├── src/ # Source code
│ ├── components/ # Vue components
│ ├── App.vue # Main application component
│ └── main.js # Entry file
├── config.js # Configuration file
├── package.json # Project configuration file
├── README.md # Project README file
└── vite.config.js # Vite configuration file
该项目使用MIT许可证。
This project is licensed under the MIT License.