GithubHelp home page GithubHelp logo

masonz / parcel-vue-ts Goto Github PK

View Code? Open in Web Editor NEW
50.0 4.0 6.0 293 KB

๐Ÿ“ฆ Boilerplate for Vue.js & Typescript, base on Parcel bundler.

Home Page: https://masonz.github.io/parcel-vue-ts/

License: MIT License

TypeScript 17.79% Vue 31.16% HTML 3.80% JavaScript 47.24%
typescript vue-router sfc vue parcel-bundler parcel-vue jest boilerplate vuex

parcel-vue-ts's Issues

`parcel-vue-ts` command not found.

yarn global add @parcel-vue-ts/cli
or
npm install -g @parcel-vue-ts/cli

There has no parcel-vue-ts command to be installed.

How to use @parcel-vue-ts/cli to init project that written in Usage?

Build error when using Parcel v1.5.0

Hello there.

Thanks for putting together this boilerplate.

After playing around with it, I noticed that upgrading the parcel-bundler dependency to 1.5.0 breaks the build. Specifically, I get this error trace:

$ npm run dev

> [email protected] dev D:\Code\forks\parcel-vue-ts
> parcel serve src/index.html -d dist --public-url /dist/ -o

Server running at http://localhost:1234
ร—  D:\Code\forks\parcel-vue-ts\src\app.vue: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at Object.relative (path.js:571:5)
    at new Asset (D:\Code\forks\parcel-vue-ts\node_modules\parcel-bundler\src\Asset.js:22:30)
    at new JSAsset (D:\Code\forks\parcel-vue-ts\node_modules\parcel-bundler\src\assets\JSAsset.js:23:5)
    at new TypeScriptAsset (D:\Code\forks\parcel-vue-ts\node_modules\parcel-bundler\src\assets\TypeScriptAsset.js:4:1)
    at ts (D:\Code\forks\parcel-vue-ts\vue.config.js:7:22)
    at D:\Code\forks\parcel-vue-ts\node_modules\vueify-bolt\lib\compiler.js:297:7
    at new Promise (<anonymous>)
    at compileAsPromise (D:\Code\forks\parcel-vue-ts\node_modules\vueify-bolt\lib\compiler.js:296:12)
    at processScript (D:\Code\forks\parcel-vue-ts\node_modules\vueify-bolt\lib\compiler.js:251:10)
(node:1544) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Path must be a string. Received undefined
(node:1544) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:1544) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'line' of undefined
(node:1544) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot read property 'line' of undefined

Any ideas?

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.