Giter Site home page Giter Site logo

Comments (6)

smnandre avatar smnandre commented on July 20, 2024 1

I’m not sure to understand « what » is not compatible with AssetMapper, but there is no « yarn watch » with AssetMapper.

And AssetMapper is the default asset component now.

Maybe what you mean is that WebPack doc should mention it does not work with AssetMapper ?

from ux.

vcopleutre avatar vcopleutre commented on July 20, 2024 1

Hi @smnandre ,

Thank you for your answer. Well you are right, what I mean is that WebPack does not work with AssetMapper and so when using npm install to download symfony ux components (after composer require), only webpack was downloaded in node_modules.

It's just that I struggled on this problem and couldn't find any solution on the web, so I think it could help some people to raise this issue.

Thanks

from ux.

smnandre avatar smnandre commented on July 20, 2024 1

I believe the problem is that AssetMapper "take the lead" when both are installed... and there is where we may improve the DX

from ux.

weaverryan avatar weaverryan commented on July 20, 2024

Hi!

We have this at the top of the ux-react docs:

This package works best with WebpackEncore. To use it with AssetMapper, see Using with AssetMapper.

Maybe the warning isn't obvious enough?

from ux.

vcopleutre avatar vcopleutre commented on July 20, 2024

Maybe the warning isn't obvious enough?

It wasn't for me but It may be enough. I agree with your previous comment.

from ux.

weaverryan avatar weaverryan commented on July 20, 2024

I'm going to close for now. We can see if anyone else has issues. And if so, think about some changes then.

Thanks!

from ux.

Related Issues (20)

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.