Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-vuejs

belajar vue.js dengan BE nodejs

membuat project

  • jalankan vue ui
  • create new project
  • tambah dependency bootstrap

v-for dan v-key

  • syntaxn
<div v-for="tugasSaya in tugas" v-bind:key="tugasSaya.id">

generate new class

  • syntax
v-bind:class="{'item-completed':tugasSaya.isDone}"

Project Vue Apps

  • source

  • routes

    - GET /posts
    - GET /posts/:id
    - POST /posts
    - PUT /posts/:id
    - DELETE /posts/:id
    
  • generate project

    • npm install -g @vue/cli-init
    • vue init pwa my-vue-app
    • cd ./my-vue-app
    • npm install
    • npm run dev
  • install bootstrap

    • npm install vue bootstrap-vue bootstrap
    • error eslint, lebih baik generate project menggunakan ui dan install dependency bootsrtap di ui
  • auth with okta

  • tambahkan router pada vue ui

About

belajar vue.js dengan BE nodejs

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages