Giter Site home page Giter Site logo

nuxt-wordpress-pwa's People

Contributors

andrekelling avatar srhise avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nuxt-wordpress-pwa's Issues

SSR: Render dynamic post and categories as file (fix included)

If someone check then you will find in documentation that generating dynamic route by _slug aren't supported right now. I have workaround by digging prefered solution:

nuxt.config.js

const axios = require('axios');
    /*
    ** Generate SSR
    */
  generate: {
      routes: function (callback) {
          axios.all([
              axios.get('https://wp.api/wp-json/wp/v2/posts'),
              axios.get('https://wp.api/wp-json/wp/v2/categories')
          ])
          .then(axios.spread(function (posts, categories) {
              let routes1 = posts.data.map((post) => {
                  return '/' + post.slug
              });

              let routes2 = categories.data.map((category) => {
                  return '/category/' + category.slug
              });

              callback(null, routes1.concat(routes2));
          }), function(err) {
              return next(err);
          });
      }
  }

Is there better way? To just use components, modules or something that decouple logic from configuration? And to remove additional place where full address of website is added?

SSR: Favicon is missing (404)

Favicon is missing.
Used just boilerplate where exist.
Tested on netlify by: npm run deploy (nuxt build && nuxt generate)
What I'am doing wrong?

HTML entities

Special chars aren't rendered properly. "&eacute" instead of "รฉ".
What would be the best place to fix this? Replace the entities with their counterpart in the API?
I'm quite new to Nuxt so advices would be appreciated :)

SSR: Site isn't updated when post change content

Tested on HTTPS with worker.
Try:
Edit post and check if site generated by server have it. Open homepage to check it.
Next try add more post without re-generate whole site. Refresh homepage - no change. Go to category page - new post visible. Back - new post visible. Refresh - no new post ;(

Info regards this modus operandi

Hi, I can not understand if this stack you create can update content directly from the wp admin panel.

Or you need to upgrade the content in two steps.

1 Enter the wp admin panel, modify the saved content.

2 Npm throws generated to recreate all site pages that have been developed with nuxt.

Nuxt Server Error

Hello,

I have tried your "Nuxt WP", only changing the url base to the url of my website, but I get an error called "NuxtServerError", there is something else to do to be able to test it correctly, with your base url if it works correctly.

Regards,

\o/

๐Ÿ† ๐Ÿ‘

Boo Boo CSS

Fix the CSS Scoping, inheritance, and lack of globalization.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.