GithubHelp home page GithubHelp logo

7-secret-patterns's Introduction

7 secret patterns Vue consultants don't want you to know (materials and resources)

Beyond the slides, a full demo and code for the MapboxGL example can be found here.

7-secret-patterns's People

Contributors

chrisvfritz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

7-secret-patterns's Issues

Missing ^?

In the slides for the component registration, the code

const requireComponent = require.context( '.', false, /base-[\w-]+\.vue$/ )

should that not use the start-of-line matcher also, i.e. /^base-... or is there some reason why you want to match helloworldbase-foo.vue ?

Why is .keys().forEach() working here?

Hey,

firstly: thanks for the talk! Cool idea to have a github repo for it :)

My question:
image

Why does this work? When I google on how to loop through an object or array with vanilla javascript, I get solutions like this:

Object.keys(myObject).forEach( ... )

so I'm wondering why your version works aswell. Is this functionality coming from require.context() maybe?

Greetings,

René

Issue with Module Loader and @folder locations

I have a module that references a file using the '@folder/file' notation, but the module require script fails to compile saying that file is a missing dependency. Is there a way to fix it in the magic module loader, or change my dependency notation inside the module to require the file in a different way?

Thanks!

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.