Skip to content

Instantly share code, notes, and snippets.

View fjugaldev's full-sized avatar
🚀
Deploying knowledges in my mind instance...

Francisco Javier Ugalde fjugaldev

🚀
Deploying knowledges in my mind instance...
View GitHub Profile
<?php
namespace App\Document;
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Security\Core\User\AdvancedUserInterface;
<!DOCTYPE html>
<html>
<head>
<title>Desde Cero: Cromo crear un componente en Vue.js</title>
<!-- Incluimos Vue.js desde CDN -->
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
</head>
<body>
<div id="app">
<ul>
<template>
<div class="hello">
<h1>{{ msg }}</h1>
<h2>Essential Links</h2>
<ul>
<li>
<a
href="https://vuejs.org"
target="_blank"
>
<template>
<div class="hello">
<h1>{{ msg }}</h1>
<h2>Essential Links</h2>
<ul>
<li>
<a
href="https://vuejs.org"
target="_blank"
<template>
<div id="app">
<img src="./assets/logo.png">
<HelloWorld/>
</div>
</template>
<script>
import HelloWorld from './components/HelloWorld'
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>mi_app_vue</title>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
<?php
/**
* ApiController.php
*
* API Controller
*
* @category Controller
* @package MyKanban
* @author Francisco Ugalde
* @copyright 2018 www.franciscougalde.com
nelmio_api_doc:
documentation:
info:
title: My Kanban API
description: Este es el RESTful API de My Kanban
version: 1.0.0
routes: # to filter documented routes
path_patterns:
- ^/api(?!/doc$) # Accepts routes under /api except /api/doc
<?php
/**
* ApiController.php
*
* API Controller
*
* @category Controller
* @package MyKanban
* @author Francisco Ugalde