Last active
July 12, 2024 22:02
-
-
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 ๐บ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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