当前位置: 首页 > 软件库 > Web应用开发 > >

nextjs-redux-starter

授权协议 Readme
开发语言 JavaScript
所属分类 Web应用开发
软件类型 开源软件
地区 不详
投 递 者 郏博瀚
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Next.js redux starter

An opinionated Next.js starter kit with Express, Redux Toolkit, styled-components, and react-testing-library.

About

Next.js is an awesome and minimalistic framework to make a modern universal react app. However, there're times that we need a bit more features to build a complex SPA. That's why this project is born.

Features

Getting started

git clone https://github.com/CodementorIO/nextjs-redux-starter my-project
cd my-project
yarn install
yarn start

Then open http://localhost:3100/ to see your app.

Deployment

After npm run build finished, run

yarn serve

If you prefer using now, just modify now.json config.

Structure overview

├── README.md
├── next.config.js
├── now.json
├── package.json
├── pages
│   ├── _app.js
│   ├── _document.js
│   ├── about.js
│   └── index.js
├── public
│   └── static
├── server
│   └── index.js
├── src
│   ├── components
│   ├── config.js
│   ├── features
│   ├── libs
│   ├── store.js
│   ├── tests
│   │   ├── components
│   │   └── test-utils.js
│   └── theme.js
└── yarn.lock
 相关资料
  • 我们的业务目前正在探索Vercel,以部署我们用React编写的新登录页 项目组织如下(概念上): > /src/pages/_应用程序。tsx:导入css(也使用tailwind)并将应用程序包装到IconContext中。提供者(用于图标) ./src/page/index.tsx:导出(默认)组件,它使用内部反应组件来呈现/钩子来处理逻辑 我们已经花了几个小时调试这个问题,但仍然不知道错误在

  • Next.js + Express Next.js project using Spotify API (See demo). Build Setup # Dependencies$ npm install# Serve at at localhost:3000$ npm run dev Docs Next.js Now React Express

  • generator-shopify-nextjs A Yeoman generator for Serverless Shopify apps using Next.js, Koa, Prisma GraphQL & Shopify's Polaris The Stack next.js koa koa-shopify-auth koa-shopify-graphql-proxy Polaris

  • 我试图在Vercel上部署我的NextJS应用程序,但构建总是失败,错误为,即使NextJS应用程序已成功构建。我已经联系了Vercel支持部门,但他们只能在我公开我的存储库时帮助我,不幸的是,这不是一个选项。我已经向他们提供了整个项目的ZIP文件,但他们没有接受。 我在这里发布这篇文章,希望有人知道是什么导致了这个错误。任何想法都非常感谢。 编辑:这里有一个重现错误的回购:https://git

  • 问题内容: 我正在使用React + Flux。我们的团队计划从助焊剂转变为还原剂。Redux对于来自助焊剂世界的我非常困惑。在 磁通控制中, 从 **组件- 操作->存储和存储更新返回组件 很** 简单。它很简单,也很清楚。 但在redux中令人困惑。这里没有商店,是的,有些例子没有使用商店。我经历了一些教程,看来每个人都有自己的实现风格。有些正在使用容器,有些则没有。(我不知道这个Contai

  • 对于如何使用React路由器的。 换句话说,如果您使用Redux的连接一个组件,那么如何放置应该在调度特定操作后触发的按钮? 为了澄清这个问题,这里是我的一个实验片段。。。 如您所见,一旦通过将帖子添加到Redux的状态,页面就需要通过历史记录移动到。推 根据Redux的文档,容器用于更新状态(以及获取数据)。因此,哑组件不应该放置任何类似。 有什么方法比上面的代码更好? 如有任何建议,将不胜感激