<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Test Vue</title> </head> <body> <div id="app-condicional"> <span v-if="can_i_see_it">Sim vc pode me ver</span> <span v-if="can_i_see_it_2">Vc não pode me ver</span> </div> <script src="https://cdn.jsdelivr.net/npm/vue"></script> <script> var app = new Vue({ el: '#app-condicional', data: { can_i_see_it: true, can_i_see_it_2: false, } }) </script> </body> </html>