Coder Social home page Coder Social logo

vue-ts-webpack's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vue-ts-webpack's Issues

error TS2702: 'Vue' only refers to a type, but is being used as a namespace here

Hi Stepan.
I came across an error.

  1. git clone ...
  2. npm install
  3. npm start

{"os":"linux","arch":"x64"}

npm --version
5.6.0
node --version
v9.3.0

npm start

> [email protected] start vue-ts-webpack
> webpack-dev-server --hot --inline --history-api-fallback

Project is running at http://localhost:8001/
webpack output is served from /static/
404s will fallback to /index.html
Usage of ts-loader option `configFileName` is deprecated. Use `configFile` instead.
ts-loader: Using [email protected] and vue-ts-webpack/tsconfig.json
Hash: 81367d8287d371321804
Version: webpack 2.7.0
Time: 6835ms
             Asset    Size  Chunks                    Chunk Names
    dist/bundle.js  747 kB       0  [emitted]  [big]  main
dist/bundle.js.map  1.4 MB       0  [emitted]         main
chunk    {0} dist/bundle.js, dist/bundle.js.map (main) 714 kB [entry] [rendered]
    [0] ./~/vue/dist/vue.runtime.esm.js 205 kB {0} [built]
    [9] (webpack)/hot/emitter.js 74 bytes {0} [built]
   [12] (webpack)-dev-server/client?http://localhost:8001 7.91 kB {0} [built]
   [13] (webpack)/hot/dev-server.js 1.53 kB {0} [built]
   [14] ./app/init.ts 300 bytes {0} [built]
   [24] ./~/loglevel/lib/loglevel.js 7.9 kB {0} [built]
   [25] ./~/punycode/punycode.js 14.7 kB {0} [built]
   [33] ./~/url/url.js 22.8 kB {0} [built]
   [37] (webpack)-dev-server/client/overlay.js 3.67 kB {0} [built]
   [38] (webpack)-dev-server/client/socket.js 1.08 kB {0} [built]
   [40] (webpack)-dev-server/~/strip-ansi/index.js 150 bytes {0} [built]
   [42] (webpack)/hot/log-apply-result.js 998 bytes {0} [built]
   [46] ./app/components/main/main.vue 1.75 kB {0} [built]
   [51] (webpack)/hot nonrecursive ^\.\/log$ 160 bytes {0} [built]
   [52] multi (webpack)-dev-server/client?http://localhost:8001 webpack/hot/dev-server ./app/init.ts 52 bytes {0} [built]
     + 38 hidden modules

ERROR in vue-ts-webpack/node_modules/vue-class-component/lib/declarations.d.ts
(6,33): error TS2702: 'Vue' only refers to a type, but is being used as a namespace here.
webpack: Failed to compile.


Better description for the project

I've stumbled upon this project some time ago and found it great as a base for Vue-TS app. But the README.MD for it is too minimal. Could you add some more information describing what this project does and maybe a link to the original tutorial where you are describing overall setup?

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.