All Projects → art-design-ui → noov.js

art-design-ui / noov.js

Licence: MIT License
📦 noov.js for react ssr solution

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
Less
1899 projects
EJS
674 projects

Projects that are alternatives of or similar to noov.js

Reeakt
A modern React boilerplate to awesome web applications
Stars: ✭ 116 (+544.44%)
Mutual labels:  jest, ssr
jest-handbook-examples
Examples for The Jest Handbook
Stars: ✭ 14 (-22.22%)
Mutual labels:  jest, jest-tests
jest-wrap
Fluent pluggable interface for easily wrapping `describe` and `it` blocks in Jest tests.
Stars: ✭ 35 (+94.44%)
Mutual labels:  jest, jest-tests
N2ex
🌈 V2ex built with Nuxt.js (vue&ssr)
Stars: ✭ 260 (+1344.44%)
Mutual labels:  jest, ssr
Wemake Vue Template
Bleeding edge vue template focused on code quality and developer happiness.
Stars: ✭ 645 (+3483.33%)
Mutual labels:  jest, ssr
Rockpack
Rockpack is a simple solution for creating React Application with Server Side Rendering, bundling, linting, testing within 5 minutes
Stars: ✭ 265 (+1372.22%)
Mutual labels:  jest, ssr
jest-mock-date-examples
Different approaches to mocking the Date in Jest tests
Stars: ✭ 22 (+22.22%)
Mutual labels:  jest, jest-tests
Ts React Boilerplate
Universal React App with Redux 4, Typescript 3, and Webpack 4
Stars: ✭ 104 (+477.78%)
Mutual labels:  jest, ssr
react16-seed-with-apollo-graphql-scss-router4-ssr-tests-eslint-prettier-docker-webpack3-hot
Seed to create your own project using React with Apollo GraphQL client
Stars: ✭ 19 (+5.56%)
Mutual labels:  jest, ssr
node-backend-template
A template for NodeJS backend projects
Stars: ✭ 19 (+5.56%)
Mutual labels:  jest
nextal
Starter template for NextJs with TypeScript. Supports Tailwind with CSS-Modules. Jest and @react/testing-library configured and ready to go. Also ESLint, Prettier, Husky, Commit-lint and Atomic Design for components.
Stars: ✭ 88 (+388.89%)
Mutual labels:  jest
react-testing-talk
No description or website provided.
Stars: ✭ 12 (-33.33%)
Mutual labels:  jest
egg-view-vue-ssr
Egg Vue Server Side Render (SSR) Plugin
Stars: ✭ 90 (+400%)
Mutual labels:  ssr
personal-blog
✍️ 个人技术博客
Stars: ✭ 79 (+338.89%)
Mutual labels:  jest
tropic
🍍 Test Runner Library
Stars: ✭ 29 (+61.11%)
Mutual labels:  jest
QuickStarter
Quick nodejs (Express) + docker + mongodb + JEST(testing) setup.
Stars: ✭ 12 (-33.33%)
Mutual labels:  jest-tests
Geek Blog
基于Vue+Nuxt.js服务器渲染(SSR)搭建的个人博客系统
Stars: ✭ 33 (+83.33%)
Mutual labels:  ssr
shici
使用 next.js 与 graphql 做一个诗词小站
Stars: ✭ 79 (+338.89%)
Mutual labels:  ssr
awesome-address-book
This project shows a basic address book built with ReactJS, Redux Toolkit and Typescript 📖
Stars: ✭ 20 (+11.11%)
Mutual labels:  jest
exalt
A JavaScript framework for building universal apps.
Stars: ✭ 54 (+200%)
Mutual labels:  ssr

noov.js

📦 快速、通用、轻量级的 SSR 解决方案

功能

  • 📦 支持热更新
  • 📱 服务端数据预取
  • 💪 支持 redux
  • 🧳 自定义 layout 组件
  • ⚡️ 支持自定义 TDK 配置

快速开始

npm i
npm run dev

API

asyncData

你可能想要在服务器端获取并渲染数据。noov.js 添加了 asyncData 方法使得你能够在渲染组件之前异步获取数据。

  • 类型: Function

asyncData 方法会在组件(限于页面组件)每次加载之前被调用。它可以在服务端或路由更新之前被调用。

 Home.asyncData() {
    return { project: 'nuxt' }
  }

注意:由于 asyncData 方法是在组件 初始化 前被调用的,所以在方法内是没有办法通过 this 来引用组件的实例对象。

TDK 配置

你可能想要想要在每个页面都配置不同的 TDK,这里可以在 config 目录进行配置,key 值对应路由

export default {
  '/': {
    title: 'home',
    keywords: 'noov.js',
    description: '一套react-ssr解决方案'
  }
}

另外也可以通过接口获取 TDK

社区

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].