Giter VIP home page Giter VIP logo

Comments (5)

posva avatar posva commented on May 28, 2024

I tried without the style and got it working. The only issue I see is that you're indenting your jade/pug incorrectly: unlike html there isn't an initial indentation. Thin can break stuff:

<template lang="jade">
.loginPage
  form.loginForm(action="#")
    mdl-textfield(floating-label="Login" v-bind:value.sync="login")
    mdl-textfield(floating-label="Password" v-bind:value.sync="password")

    .loginFrom_btnWrap
      mdl-button(v-mdl-ripple-effect raised primay) Sign in
</template>

Tell me if that's not the issue

from vue-mdc.

posva avatar posva commented on May 28, 2024

Works with the style too 😄
screen shot 2016-03-27 at 14 11 48
Remember you can pass the type="password" to the textfield as a prop

from vue-mdc.

freepad avatar freepad commented on May 28, 2024

Thank, but the error persists

It work

<template lang="jade">
img(src="http://placehold.it/100x100")
</template>

It not work

<template lang="jade">
img(src="http://placehold.it/100x100" alt="100x100")
</template>

error

Unhandled rejection SyntaxError: Unexpected identifier

from vue-mdc.

posva avatar posva commented on May 28, 2024

Well, I cannot help you any further as this error has nothing to deal with vue-mdl. The error seems to be soemowhere else

Good luck!

from vue-mdc.

freepad avatar freepad commented on May 28, 2024

It is magic but work

img(src='http://placehold.it/100x100')(alt='100x100')

Thanks for the help!

from vue-mdc.

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.