Skip to content

Instantly share code, notes, and snippets.

@daliborgogic
Last active July 12, 2024 22:02
Show Gist options
  • Save daliborgogic/6fad2af53d3102a1dbd88a69af9d77a6 to your computer and use it in GitHub Desktop.
Save daliborgogic/6fad2af53d3102a1dbd88a69af9d77a6 to your computer and use it in GitHub Desktop.
"The drawback of `vue serve` is that it relies on globally installed dependencies..." Hold My ๐Ÿบ
#!/usr/bin/bash
npx -p @vue/cli \
-p @vue/cli-service-global \
-p pug \
-p pug-loader \
-c "echo '<template lang="pug">
div
h1 Zero-config Prototyping
</template>' > App.vue && vue serve"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment