diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..e812394 --- /dev/null +++ b/.babelrc @@ -0,0 +1,6 @@ +{ + "presets": [ + ["env", { "modules": false }], + "stage-3" + ] +} diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9d08a1a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a0446a5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +.DS_Store +node_modules/ +dist/ +npm-debug.log +yarn-error.log + +# Editor directories and files +.idea +*.suo +*.ntvs* +*.njsproj +*.sln diff --git a/README.md b/README.md new file mode 100644 index 0000000..abc4b64 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# v-tweets + +> Web SPA, para seguimientos de tweers.seguimiento de tweews. + +## Build Setup + +``` bash +# install dependencies +npm install + +# serve with hot reload at localhost:8080 +npm run dev + +# build for production with minification +npm run build +``` + +For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader). diff --git a/index.html b/index.html new file mode 100644 index 0000000..063d0af --- /dev/null +++ b/index.html @@ -0,0 +1,66 @@ + + +
+ +Soy un parrafo en el componente hijo
` -}); - -new Vue({ - el: "#content", - data: { - message: 'Hello Vue!' - } -}); diff --git a/public/js/myscript.js b/public/js/myscript.js deleted file mode 100644 index fc352ae..0000000 --- a/public/js/myscript.js +++ /dev/null @@ -1,93 +0,0 @@ -$('#cambio').click(function() { - var num = Math.round(Math.random() * (4 - 1) + 1); - $('#body').css('background-image', 'url(public/img/background-html' + num + '.jpg)'); - $('#loader').html('