Giter Site home page Giter Site logo

Comments (8)

 avatar commented on May 13, 2024 1

Hello, I think it doesn't work with Blade Components. I tried using it on a blade file that uses Blade Components, it doesn't work. However, using it on a "plain" blade file does the job.

from vscode-blade-formatter.

issue-label-bot avatar issue-label-bot commented on May 13, 2024

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.90. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from vscode-blade-formatter.

shufo avatar shufo commented on May 13, 2024

@deepak-atariya-teri
Could you provide your environment and reproduce procedure? Thanks.

from vscode-blade-formatter.

shufo avatar shufo commented on May 13, 2024

@prettifystudio
Could you provide example template source?
Currently custom component defined in Laravel 6.x are not supported.

Components in 7.x, 8.x like below are supported

@section('foo')
    <x-alert />
    <x-user-profile />
    <x-inputs.button />
@endsection

from vscode-blade-formatter.

 avatar commented on May 13, 2024

EDIT:

Just a notice, the files that give me the error are the files where I'm using displaying data " {{ }} "
Other files are working okay. I guess it's because of " {{ }} "

Laravel 8.x

@push('scripts')
    <script>
      console.log('foo');
    </script>
@endpush
<x-app-layout title="Add new client">
    <section class="section">
    </section>
</x-app-layout>

from vscode-blade-formatter.

shufo avatar shufo commented on May 13, 2024

hm...curly braces without content like {{ }} occurs error but if there are something in it {{ $a }} worked as expected.
Thanks! I'll try figure out what causes this error.

from vscode-blade-formatter.

github-actions avatar github-actions commented on May 13, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

from vscode-blade-formatter.

shufo avatar shufo commented on May 13, 2024

Fixed in v0.6.4

from vscode-blade-formatter.

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.