This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const path = require('path'); | |
module.exports = { | |
mode: 'development', | |
entry: './main.js', | |
// watch: true, | |
output: { | |
path: path.join(__dirname, 'dist'), | |
// publicPath: '/dist/', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "vuejs1", | |
"version": "1.0.0", | |
"description": "PRUEBA DE TESTEO PARA VUE", | |
"main": "index.js", | |
"license": "MIT", | |
"private": true, | |
"scripts": { | |
"install": "" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const listaProyectos = [] | |
const listaDepen = [] | |
db.collection('proyectos').get(). | |
then(res => { | |
res.forEach(doc =>{ | |
let proyecto = doc.data() | |
proyecto.id = doc.id | |
listaProyectos.push(proyecto) | |
}); | |
}) |
OlderNewer