Git Product home page Git Product logo

storyblok-svelte-boilerplate's People

Contributors

emanuelgsouza avatar sebgie avatar

Stargazers

 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  avatar

storyblok-svelte-boilerplate's Issues

401 error on first use

I updated the token in 2 places as requested in preview.md.
The token is correct and gives me a response in postman.
Error: Request failed with status code 401
at createError (/~/storyblok-svelte-boilerplate-master/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/createError.js:16:15)
...

Sapper is replaced by sveltekit now also.

Notfound page returns a 500 error

This template should include a proper 404 response.

This has been much harder than I had expected, but I can't figure out how to make this template return a 404 for a page not found, rather than a 500 error.

It seems that:

const response = await client.get('cdn/stories/' + slug, reqConfig)

returns an error that I don't know how to catch or handle.

As a side effect, sites created with this template will return a 500 error for pages such as robots.txt, which may lead to other weird errors such as your webpage not validating for google ads.

Storyblok visual editor not working with static website

When exporting the sapper / svelte boilerplate to static website. The exported static website doesn't support the visual editor anymore from Storyblok. It only works when the website is run in SSR.

The static website should have the editor page also.

Best regards, Seppe

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.