prerender-spa-plugin:在单页应用程序中呈现静态HTML

时间:2024-02-26 22:22:37
【文件属性】:

文件名称:prerender-spa-plugin:在单页应用程序中呈现静态HTML

文件大小:568KB

文件格式:ZIP

更新时间:2024-02-26 22:22:37

static-site-generator spa webpack webpack-plugin seo

Prerender SPA插件 灵活的,与框架无关的静态站点生成,用于使用Webpack构建的站点和SPA。 关于prerender-spa-plugin :backhand_index_pointing_right: 这是基于puppeteer的prerender-spa-plugin的稳定的3.x版本。 如果您正在寻找基于PhantomJS的(不建议使用的) 2.x版本,请查看v2分支。 该插件的目的是提供一个简单的预渲染解决方案,该解决方案可轻松扩展并适用于任何使用webpack构建的网站或单页应用程序。 已计划其他任务运行者和构建系统的插件。 例子 特定于框架的示例可以在examples/目录中找到。 基本用法( webpack.c


【文件预览】:
prerender-spa-plugin-master
----.babelrc(272B)
----index.js(550B)
----package.json(2KB)
----test()
--------index.js(0B)
--------single-route.js(119B)
--------assets()
----es5-autogenerated()
--------index.js(6KB)
----assets()
--------logo.png(16KB)
--------logo.gvdesign(2KB)
----package-lock.json(297KB)
----.eslintrc.js(282B)
----examples()
--------create-react-app()
--------vanilla-simple()
--------vue2-webpack-simple()
--------angular-cli-eject()
--------vue2-webpack-router()
----es6()
--------index.js(6KB)
----LICENSE.md(1KB)
----.gitignore(2KB)
----README.md(29KB)

网友评论