Giter VIP home page Giter VIP logo

bootstrap-v4-snippets's People

Contributors

alejandrogarciapalomo avatar brightsoul avatar lokesh-coder avatar realpack avatar zaczero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bootstrap-v4-snippets's Issues

Support for php and blade

Man, this is really awesome but can you add support for php and blade because now I am only able to use it in html.

Incompatibility with the Vetur extension

The other day I asked how to make this extension work in a .vue file in this comment.

I always use bootstrap-v4-snippets for HTML development in Laravel .blade.php files, and I also want to use it in .vue files.

I've identified that the Vetur extension interferes with this extension, and it doesn't show the snippets as in this image:

error image

This extension also helps a lot in the development with vue and has more than 4 million installations

img element tag has no close symbol

For example,
b4 card group generate a snippets:

        <div class="card-group">
          <div class="card">
            <img class="card-img-top" data-src="holder.js/100x180/" alt="Card image cap">
            <div class="card-body">
              <h4 class="card-title">Title</h4>
              <p class="card-text">Text</p>
            </div>
          </div>
          <div class="card">
            <img class="card-img-top" data-src="holder.js/100x180/" alt="Card image cap">
            <div class="card-body">
              <h4 class="card-title">Title</h4>
              <p class="card-text">Text</p>
            </div>
          </div>
        </div>

the image element tag has no close symbol "/" at the end like this:
<img class="card-img-top" data-src="holder.js/100x180/" alt="Card image cap"/>

It will cause some problems in JSX.

Navbar snippet update: navbar-dark class not working

The b-navbar snippet needs an update.
The class navbar-dark does not work with the current build as the anchor element on line 2 is missing href="#".

Please change line 2 to the following:
<a class="navbar-brand" href="#">Navbar</a>

Additionally could you guys add a standard link between line 10 & 11? It would make it easier to copy lines when adding additional links to the navbar:

<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>

Does not work in VSCode 1.45

Iam unable to get Snippets for Bootstrap V4 in my VS code 1.45.

Please help me if there is any configuration needs to make prior to use.

Doesn't work in vscode 1.37

Hi! Thank you for the extension. Unfortunately, I couldn't get it working as it described in the README file. The "Install and start using" method does not seem to work. I use the latest version of VSCODE and tested the extension on twig, html, vue files but it didn't work.
This is what I've done to make it work. Copied all snippets from this repository and pasted them here Preferences: Configure user snippets > twig. Please, have a look.

Version: 1.37.0
Commit: 036a6b1d3ac84e5ca96a17a44e63a87971f8fcc8
Date: 2019-08-08T01:24:14.598Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.15.0-34-generic

Mod b-from-group

Current 'b-form-group' adds the following

<div class="form-group">
    <label for="my-input">Text</label>
    <input id="my-input" class="form-control" type="text">
 </div>

Is there a posibility to change input id to name or add the name property.
the name property is used laravel form handleling and cte changing defeats the purpose of using snippets
Iether

<div class="form-group">
    <label for="my-input">Text</label>
    <input name="my-input" class="form-control" type="text">
 </div>

or

<div class="form-group">
    <label for="my-input">Text</label>
    <input id="my-input" name="my-input" class="form-control" type="text">
 </div>

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.