EGOIST
1 min readDec 4, 2017

--

Hi, if you installed an npm package locally, its binary will be installed at ./node_modules/.bin , so in this case you can call poi command via: ./node_modules/.bin/poi . npm≥5.2.0 also gives you a command npx which you can use to run local binaries, so the previous command is equivalent to npx poi . And feel free to append flags if you want: npx poi --port 2017 .

And there’s a shorthand to enable Vue’s runtime+compiler build: poi — templateCompiler , or setting templateCompiler: true in your config file.

--

--

EGOIST
EGOIST

No responses yet