v-money icon indicating copy to clipboard operation
v-money copied to clipboard

Can't build after fork your project.

Open elmoknit opened this issue 6 years ago • 3 comments

Hi!

I forked your project to make a change. I want to build it to have the dist folder, but it doesn't work.

 [email protected] build /[...]/v-money
vue build ./src/index.js --config ./build.config.js --dist ./dist/ --prod --lib

Usage: build [options] [entry]

build a .js or .vue file in production mode with zero config

Options:
  -t, --target <target>  Build target (app | lib | wc | wc-async, default: app)
  -n, --name <name>      name for lib or web-component mode (default: entry filename)
  -d, --dest <dir>       output directory (default: dist)
  -h, --help             output usage information


  Unknown option --config.

Feeling stupid to ask this, but what do I do wrong.

Thanks for helping me!

elmoknit avatar Dec 19 '18 16:12 elmoknit

Same here...

diegomagikal avatar Jan 22 '19 11:01 diegomagikal

npm install npm run build

paulodiogo avatar Oct 17 '19 14:10 paulodiogo

Probably the author was using a global vue-cli at the time he wrote this project. You must install vue-cli as devDependency:

npm i -D [email protected]

richardaum avatar Dec 08 '19 03:12 richardaum