Introduction
Still working on learning Vue and Firebase, Day 2 after installing Vue I've switched to Git Bash over using Windows Powershell. None of the VUE commands seem to be working on Powershell, so I'm switching to Git Bash.
Using Git Bash
For some reason the first time I loaded Git Bash after installing the vue commands weren't working. I restarted and now it's working...
- Wasn't working at first, needed to change path
- npm config edit (got notepad editor)
- prefix variable changed to C:\Users\<User Name>\AppData\Roaming\npm
- vue create-vue-app
- Selected manual but didn't get the same prompts
- cd vue-app
- npm install -g @vue/cli
- npm run serve
- http://localhost:8080/
Starting to get the hang of this now, so you need to create a project first, install the vue framework into that folder using the npm command in git, then you can start putting together the web page. It looks like the index page under public is the initial starting point for a one-page app, then under src you initialize the app.vue which then calls different items from the components folder.
Now that I actually get how to input information into the web page I'll work on figuring out how to use the following:
- Firebase (appears that I can use this for a lot of the backend authentication etc.
- vue router
- Vuex
- Vuelidate
- axios
Apparently I need an IDE too...opting for Visual Studio Code
No comments:
Post a Comment