一个简单的起始页项目,使用Vue 3和Tailwind CSS构建。可以自定义显示。
A simple start page project built with Vue 3 and Tailwind CSS. Customizable display.
git clone https://github.com/MarsRH/StartPage.git
cd startpage
npm install
npm run dev
npm run build
npm run preview
git clone https://github.com/MarsRH/StartPage.git
cd startpage
npm install
npm run dev
npm run build
npm 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 liststartpage/
├── 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.