GithubHelp home page GithubHelp logo

olegpolyakov / mdc-pug Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 1.98 MB

Material Components Web implemented in Pug

JavaScript 11.40% Pug 70.32% SCSS 18.28%
mdc pug material material-design material-components material-components-web

mdc-pug's People

Contributors

olegpolyakov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

wscherphof

mdc-pug's Issues

npm run dev: TypeError in plugin "gulp-pug" - Cannot read property 'call' of undefined

[20:22:04] 'buildPug' errored after 490 ms
[20:22:04] TypeError in plugin "gulp-pug"
Message:
    docs/src/layouts/page.pug:11
    9| 
    10|             +mdc-top-app-bar__section()(align='end')
  > 11|                 +mdc-top-app-bar__action-item()(element='a' href='https://pugjs.org' target='_blank' title='Pug docs')
    12|                     img(src='https://cdn.rawgit.com/pugjs/pug-logo/eec436cee8fd9d1726d7839cbe99d1f694692c0c/SVG/pug-final-logo-_-colour-128.svg')
    13|                 +mdc-top-app-bar__action-item('code')(element='a' href='https://github.com/olegpolyakov/mdc-pug' target='_blank' title='Source code')
    14|                 +mdc-top-app-bar__action-item('forum')(element='a' href='https://github.com/olegpolyakov/mdc-pug/discussons' target='_blank' title='Discussions')

Cannot read property 'call' of undefined
Details:
    path: docs/src/layouts/page.pug
    fileName: /home/wouter/github.com/wscherphof/mdc-pug/docs/src/index.pug
    domainEmitter: [object Object]
    domainThrown: false

When I comment out the line, and the next similar ones, the build succeeds:

            +mdc-top-app-bar__section()(align='end')
                //- +mdc-top-app-bar__action-item()(element='a' href='https://pugjs.org' target='_blank' title='Pug docs')
                //-     img(src='https://cdn.rawgit.com/pugjs/pug-logo/eec436cee8fd9d1726d7839cbe99d1f694692c0c/SVG/pug-final-logo-_-colour-128.svg')
                //- +mdc-top-app-bar__action-item('code')(element='a' href='https://github.com/olegpolyakov/mdc-pug' target='_blank' title='Source code')
                //- +mdc-top-app-bar__action-item('forum')(element='a' href='https://github.com/olegpolyakov/mdc-pug/discussons' target='_blank' title='Discussions')
                //- +mdc-top-app-bar__action-item('bug_report')(element='a' href='https://github.com/olegpolyakov/mdc-pug/issues' target='_blank' title='Issues')

Sass: Warning: both $level and $color are required; received $level: '0', $color: ''

Warning: both $level and $color are required; received $level: '0', $color: ''
    ../node_modules/@material/elevation/_elevation-theme.scss 234:5   -shadow()
    ../node_modules/@material/elevation/_elevation-theme.scss 466:20  resolver()
    ../node_modules/@material/tokens/_resolvers.scss 5:11             -material-elevation()
    ../node_modules/@material/elevation/_elevation-theme.scss 426:21  with-resolver()
    ../node_modules/@material/banner/_banner-theme.scss 437:3         -banner-elevation()
    ../node_modules/@material/banner/_banner-theme.scss 154:3         theme-styles()
    ../node_modules/@material/banner/_banner.scss 63:5                core-styles()
    ../node_modules/@material/banner/styles.scss 25:1                 @use
    ../node_modules/mdc-pug/lib/styles/banner.scss 2:1                @forward
    ../node_modules/mdc-pug/lib/styles/index.scss 6:1                 @forward
    ../node_modules/mdc-pug/index.scss 1:1                            @use
    ../node_modules/fastify-mdc-pug/style.scss 5:1                    root stylesheet

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.