masonz / parcel-vue-ts Goto Github PK
View Code? Open in Web Editor NEW๐ฆ Boilerplate for Vue.js & Typescript, base on Parcel bundler.
Home Page: https://masonz.github.io/parcel-vue-ts/
License: MIT License
๐ฆ Boilerplate for Vue.js & Typescript, base on Parcel bundler.
Home Page: https://masonz.github.io/parcel-vue-ts/
License: MIT License
I searched https://www.npmjs.com/package/parcel-vue-ts and nothing was there
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?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.