-
-
Notifications
You must be signed in to change notification settings - Fork 32
Vue.js first steps
Charles de Beauchesne edited this page Apr 4, 2019
·
1 revision
Here is some usefull informations/links to help your first steps on Vue.js
- Installed node
- Basic knowledge of HTML/Javascript
- (Very) basic knowledge of bash/cmd command lines
We use the Vue CLI solution :
npm install -g @vue/cli
:info: -g
stands for global, meaning that you will have to do it only once on your computer.
vue create
npm run serve
- Mono file components
-
<template>
part -
<script>
part -
<style>
part
- What is a state ?
- How reactivity works
- Scoped, not scoped ?
How to conditionally show/render a component ?
Render a list of component
- bind values to attributes
- Shortand :
:
- Connect events
- Shortand :
@
- forget all command lines, except one :
vue ui
- got to http://localhost:8000
- Serve
- install dependancies
- 🏠 Home
- 📋 Changelog
- 🛠️ Dev environment
- 🎉 Resolving issues
- 🤖 CI/CD
- 📝 Tech docs
- 🎓 Courses
- 🤓 Admin