Skip to content
#

ssr

Here are 1,957 public repositories matching this topic...

nuxt.js
emiliobondioli
emiliobondioli commented Jul 26, 2019

What problem does this feature solve?

Example use case:
A static generated app with thousands of routes, like an e-commerce having a route for each product.
Apart from scheduling nuxt generate to run periodically and generate all static and dynamic routes, it would be nice to have the possibility to generate the static files for a single route, for example in a hook when the related ba

langpavel
langpavel commented Oct 24, 2017

Too wide (and falsy) segregation of GraphQL Types and Resolvers

The first example of this is new ObjectType in src/data/queries/index.js importing fields.
Fields should be taken in context of parent type, not as standalone information.

This can ensure some users that custom types cannot have own field resolvers which is false.

In fact, much of fields which can have own resolvers

wideweide
wideweide commented Mar 25, 2020

I want to format some selection node to some other ,but not found the api,some function like :

  1. import some css, that can redefine the style
  2. add some predefined style,that can be apply to selected element
  3. do any replace as I want (maybe what I need is get selection's element node,content,then set content)

add parent element div and class

<p>autor: abc</p><p>date:2020...</>
-
wzxxzw
wzxxzw commented Jul 25, 2019

.英文不是很好,用的是nuxt.js,在刷新引入插件的页面会报window is not defined

// nuxt.config.js
plugins: [ {src: '~plugins/swiper',ssr: false} ],

//plugins文件夹下

import Vue from 'vue';
if (process.BROWSER_BUILD) {
const VueAwesomeSwiper = require('vue-awesome-swiper/dist/ssr');
Vue.use(VueAwesomeSwiper);
}

.vue文件
import { swiper, swiperSlide } from 'vue-awesome-swiper';
compone

Improve this page

Add a description, image, and links to the ssr topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ssr topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.