Coder Social home page Coder Social logo

bibli2311 / storybook-sass-deployment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexmkio/storybook-sass-deployment

0.0 0.0 0.0 888 KB

bug report: https://github.com/storybookjs/storybook/discussions/25482

Home Page: https://alexmkio.github.io/storybook-sass-deployment/

JavaScript 3.63% TypeScript 89.24% SCSS 7.14%

storybook-sass-deployment's Introduction

This is the minimal reproduction for an issue I am having when deploying the Storybook of a Next.js application that is using Sass. The issue relates to image paths not being accurate in the deployment if they are referenced in the sass modules using relative paths to the public folder; background-image: url('/assets/images/image.jpg').

The ticket can be found here: storybookjs/storybook#25482

The Storybook deployment can be found here: https://alexmkio.github.io/storybook-sass-deployment/

The Next.js deployment can be found here: https://storybook-sass-deployment.vercel.app/

I am following the documentation for using Sass, serving static files, deploying to GitHub Pages, and deploying to a subpath.

What am I missing?

storybook-sass-deployment's People

Contributors

alexmkio avatar bibli2311 avatar

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.