Support for twig files #32885
                  
                    
                      schmidtsonian
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Support twig files
Describe the solution you'd like
I want to implement storybook in a wordpress environment
this is my current working solution with storybook 8:
{ "name": "storybook", "version": "3.0.0", "description": "", "author": "estebanco.com", "license": "ISC", "main": "index.js", "engines": { "node": "22.x", "bun": "1.x" }, "scripts": { "watch": "NODE_ENV=development node ./../storybook/dev-wrapper.mjs", "build": "NODE_ENV=production storybook build -o ./../storybook --loglevel silly" }, "devDependencies": { "@babel/core": "^7.28.4", "@babel/preset-env": "^7.28.3", "@storybook/addon-essentials": "^8.6.11", "@storybook/html": "^8.6.11", "@storybook/html-webpack5": "^8.6.11", "babel-loader": "^10.0.0", "react": "^19.2.0", "react-dom": "^19.2.0", "storybook": "^8.6.11", "storybook-addon-turbo-build": "^2.0.1", "twig": "^1.17.1", "twig-drupal-filters": "^3.2.0", "twigjs-loader": "^1.0.3", "lit": "^3.3.1", "webpack": "^5.102.1" } }// main.ts
and it works, but I can't make the upgrade to storybook 10 using " @storybook/web-components-vite" with a twig plugin for vite
Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
no
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions