GithubHelp home page GithubHelp logo

0067ed / vue-block Goto Github PK

View Code? Open in Web Editor NEW
37.0 4.0 5.0 3.1 MB

A Vue plugin helping you build CSS grid like layout system with the support of old browser like IE9.

Home Page: https://0067ed.github.io/vue-block/

License: MIT License

JavaScript 74.43% HTML 7.06% Vue 18.51%
vue component plugin css-grid css layout-engine

vue-block's Issues

Missing Typings

I'm currently working on a Vue.js Typescript project and I'd like to use vue-block
I tried to import it as a plugin as indicated in docs:

import 'vue-block/dist/block.css';
import block from 'vue-block';
import Vue from 'vue';
Vue.use(block);

but the compiler says:

Could not find a declaration file for module 'vue-block'. '.../.../node_modules/vue-block/dist/block.js' implicitly has an 'any' type.
Try npm install @types/vue-block if it exists or add a new declaration (.d.ts) file containing declare module 'vue-block';

I checked for '@ types/vue-block' but it doesn't exist, can you provide a declaration file as suggested by the TS compiler? Or at least can you give me some hint on how to create it?

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.