Ref: https://www.npmjs.com/package/npx
npx has been included in latest npm. It can just execute a npm package in any place without installation/initiation/configuration.
I think if Nuxt supports npx, developers can start a website even just by a file index.vue in a blank directory.
Thanks :-)
Hey. Nice idea :) We may also add npx support for nuxt-cli
Conflicting parts:
Fixes should not be hard but not a priority before 1.0 release.
Couldn't find preset "vue-app" relative to directory
It seems can to be solved by require.resolve('babel-preset-vue-app') instead of 'vue-app' in babel presets options. I have done a little test in another similar situation a moment ago.
(hope helpful for you)
Will be available soon! Demo: https://asciinema.org/a/131579
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Will be available soon! Demo: https://asciinema.org/a/131579