NuxtHTMLVue企业官网启动器

nuxt-starter-template — Nuxt 企业官网模板

作者 mmoollllee

基于 Nuxt 的静态营销网站启动模板,内置响应式图片、图标字体、站点地图、Cookie 提示与 PHP 联系表单等常用模块。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

2 个预览视图
桌面端首页1 / 2
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 2

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-09-30查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

通过 Nuxt 静态生成输出营销型网站页面

02

内置响应式图片处理与 src-set 尺寸配置

03

集成图标字体生成、favicon 与 manifest 生成

04

自动生成站点地图,并可在配置中覆盖优先级

05

提供可选 Cookie 同意提示与带路由变化的模态窗口

06

包含 PHP 联系表单与邮件地址防抓取处理

模板详细介绍

这是一个面向营销型静态网站的 Nuxt 启动模板,通过静态站点生成方式输出页面,适合搭建企业宣传、产品介绍一类的展示型官网。模板在仓库中预置了多项常见站点能力:响应式图片、图标字体生成、站点地图自动生成、Cookie 同意提示、带路由变化的模态窗口,以及一个 PHP 联系表单。

配置集中在 nuxt.config.js、config/infos.json 与 menus.json 等文件中,联系信息与主菜单、页脚菜单、社交菜单都通过 JSON 维护。图片尺寸在 components/lib/ImageSet.vue 中调整,图标字体由 assets/icons 下的 SVG 经 Fantasticon 生成,favicon 与 manifest 通过 nuxt-rfg-icon 生成。联系表单的字段、邮件正文与收件地址在 static/mailer.php 中修改。

使用前需要注意:模板依赖 Fancyapps UI,README 标注其需要单独获取许可;联系表单为 PHP 实现,部署环境需支持 PHP。仓库的 ToDo 中说明 Cookie 消息组件化仍在进行中。演示图片、字体、图标等第三方素材的许可需单独核对,不能仅凭代码的 MIT 许可判断。

NuxtHTML企业官网启动器

适合你的项目吗?

适用场景

  • 搭建企业宣传或产品介绍类静态官网
  • 作为 Nuxt 营销站点项目的起始脚手架
  • 需要图标字体、站点地图、Cookie 提示等基础模块的展示站
  • 使用 PHP 环境接收联系表单提交的静态站点

适合人群

  • 熟悉 Nuxt 并希望快速起步营销网站的开发者
  • 需要静态生成、可自行维护配置文件的团队
  • 能提供 PHP 运行环境以处理联系表单的项目
  • 接受自行核对第三方素材与 Fancyapps UI 许可的使用者

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    安装依赖后可用 npm run dev 本地开发,npm run generate 生成静态站点。

  2. 2

    联系信息、菜单分别在 config/infos.json 与 menus.json 中维护。

  3. 3

    联系表单需修改 static/mailer.php 中的字段、邮件正文与收件地址,并要求部署环境支持 PHP。

  4. 4

    图标字体通过 npm run icons 从 assets/icons 下的 SVG 生成。

  5. 5

    Fancyapps UI 需要单独获取许可,演示图片、字体、图标等第三方素材也需按各自许可核对。

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 模板集成的 Fancyapps UI 需要单独获取商业许可,免费 MIT 许可不涵盖该组件,商用前须自行购买或替换。
  • 联系表单由 static/mailer.php 实现,部署环境必须支持 PHP 才能正常接收表单提交。
  • 仓库内演示用占位视频来自第三方 HF Media,其素材许可需单独核对,不随代码 MIT 许可一并授予。
  • 占位图片由作者本人提供,素材许可需单独确认,不能仅凭代码 MIT 许可推断可自由商用。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

[Fancyapps UI](https://github.com/fancyapps/ui) (Licence needed)

README 原文

PHP Contact Form

README 原文

Thanks to [HF Media](https://hfmedia.de/) for the stunning placeholder video.

README 原文

Thanks to [myself](https://github.com/mmoollllee) for the placeholder images.

README 原文
https://github.com/mmoollllee/nuxt-starter-template/blob/master/LICENSEhttps://github.com/mmoollllee/nuxt-starter-template/blob/master/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 77 / 100
技术栈
Nuxt · HTML · Vue
网站类型
企业官网 · 启动器
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2022-06-21
截图检查日期
2026-10-01

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Nuxt。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。

查看当时使用的来源资料

SHA-256: be3c3b9b08c9ede4b91c6d7548aeaac35ed6872fb33374aa6eede196bc822eed

2026-10-01T13:42:54.475Z

来源文件 / 仓库
# nuxt-starter-template

> NUXT Template for static site generated marketing website

## Features & Ready set up Built in
- Responsive Images via [NUXT Optimized Images](https://github.com/aceforth/nuxt-optimized-images)
- [Fancyapps UI](https://github.com/fancyapps/ui) (Licence needed)
- [Manifest](https://www.npmjs.com/package/@nuxtjs/manifest) & [Favicon Icon Generation](https://github.com/pimlie/nuxt-rfg-icon)
- [Automatic Sitemap Generation](https://github.com/nuxt-community/sitemap-module)
- [Bootstrap](https://github.com/twbs/bootstrap)
- [Countup.js](https://github.com/inorganik/countUp.js)
- [Fantasticon](https://github.com/tancredi/fantasticon)
- [Mail Spam Protection](https://github.com/mmoollllee/nuxt-protected-mailto)
- PHP Contact Form
- ~~[PurgeCSS](https://github.com/Developmint/nuxt-purgecss)~~
- Responsive Slideout Menu
- Good Lighthouse Audit ( Performance __90+__, Accessibility __100__, Best Practices __100__, SEO __100__)
- [Opt-In Cookie Banner](https://github.com/mmoollllee/nuxt-privacy-message)
- Modal Windows with route change

[**Demo**](https://mmoollllee.github.io/nuxt-starter-template/)

## Build Setup

``` bash
# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate
```

For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).

## Configuration

### General
- `nuxt.config.js`
- `config/infos.json` for contact information that will be used in different places site-wide
- `menus.json` to generate main menu, footer menu and social menu

### Image-Sizes
- Check `compontents/lib/ImageSet.vue` to adjust image-sizes for your custom `src-set`

### Webfonts
- Add preconnect URL for external Webfonts to `nuxt.config.js` in `head.link`
- Add Custom Families to `nuxt.config.js` in `webfontloader` (see: [nuxt-webfontloader](https://github.com/Developmint/nuxt-webfontloader))
- Optional: Use [local-webfont](https://github.com/swissspidy/local-webfont) to download webfonts css and add `display: swap` to css file (see: `css/_font.scss`)

### Favicon & Manifest
- Replace `static/favicon.svg`
- Change `config/faviconDescription.json` or generate new one for [nuxt-rfg-icon](https://github.com/pimlie/nuxt-rfg-icon#rfg)
- `favicon.ico` will be generated through `nuxt-rfg-icon`

### Sitemap
- Change settings in `nuxt.config.js`
- Use `sitemap.routes` to overwrite priorities or add more URLs

### Contact Form
- Change Message Body, Field names and email address in `static/mailer.php`

### [Fontasticon](https://github.com/tancredi/fantasticon)
- Generates Icon Font from `assets/icons/*.svg` to `static/fonts/icon-font.*`.
- Uses `config/fontasticon.js` to map decimal unicode characters for the font.
- Generates CSS Classes for different icons to `css/_icons.scss` from template placed in `helpers/icon-font-template.hbs`
- Generates list of Icons to `helpers/icons.json`. Used in `icons.vue` page to show all icons.
See `package.json` scripts key and `config/fontasticon.js` for options.

``` bash
npm run icons
```

### Cookie Message
- Every key in `cookieGroups` in `config/cookieMessage.json` will be a group of services in the message. See the example to create new groups.
- Use the store service to execute code when something is enabled.
- see `privacy.vue` for related privacy informations

## ToDo
- Cookie Message as extra component: [Work in progress. Help wanted!](https://github.com/mmoollllee/nuxt-privacy-message-example)

# Credits
Thanks to [GigaHierz](https://github.com/GigaHierz) for helping prepare this repo and her feedback!

Thanks to [HF Media](https://hfmedia.de/) for the stunning placeholder video.

Thanks to [myself](https://github.com/mmoollllee) for the placeholder images.
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。