【文件属性】:
文件名称:reactplate:带有 Vite 的 React.js 的最小设置和快速样板
文件大小:235KB
文件格式:ZIP
更新时间:2021-07-23 22:14:42
boilerplate pwa react-router frontend ssr
最小的安装和快速的样板为与
特征
:rocket: 使用react-router-dom 进行动态页面路由 :rocket: 使用快速开发 :rocket: SSR 支持 :rocket: 支持 PWA :rocket: SSG 支持
安装
创建React板应用程序
npx create-reactplate-app blog-starter
cd blog-starter
npm install
# run server (development mode)
npm run dev
# run server (production mode)
npm run serve
# run debugger
npm run debug
# build the client side & the server side project
npm run build
# build the client side project
npm run build:clie
【文件预览】:
reactplate-master
----.gitignore(77B)
----package.json(632B)
----package-lock.json(14KB)
----bin()
--------create-reactplate-app(2KB)
----examples()
--------.gitignore(61B)
--------package.json(1017B)
--------package-lock.json(140KB)
--------src()
--------LICENSE(1KB)
--------public()
--------vite.config.js(1KB)
--------README.md(2KB)
--------index.html(423B)
--------prerender.js(1023B)
--------server.js(2KB)
--------yarn.lock(128KB)
----README.md(3KB)
----lib()
--------output.js(2KB)
--------validate-package-name.js(297B)