Create vue-cli project
5 April 2022 (Updated 6 April 2022)
Install CLI tool
npm install -g @vue/cli
Verify it was installed correctly:
vue --version
Create project
vue create hello-world
Optional: Setup prettier
Optional: Add vue router
vue add router
Optional: Setup Tailwind CSS
See Tailwind docs for instructions.
You may also want to add the tailwindcss-forms
plugin.
If using VSCode, you’ll also want to configure it to work nicely with Tailwind.
Tagged:
Vue.js
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment