The goal of this project is to provide a set of step by step samples, covering core concepts of Vue.js
Each of the samples contains a README.md file that indicates the purpose of the sample plus an step by step guide to reproduce it.
In this sample we are going to setup a web project that can be easily managed by webpack.
We won't install anything related to Vue.js, just some basic plumbing.
We will setup an initial npm project and give support to TypeScript. Then we will create a Hello World TypeScript sample.
Summary steps:
- Prerequisites: Install Node.js
- Initialize package.json (with
npm init) - Install:
- Webpack and webpack-dev-server.
- TypeScript.
- Setup webpack.config.js
- Create a test js file.
- Create a simple HTML file.
In this sample we are going to create our first Vue.js SFC and connect it with the DOM.
We will take a startup point sample 00 Boilerplate.
Summary steps:
- Install Vue.js devtools.
- Install
vue.jslibrary and others dependencies. - Configure webpack to work with
vue.js. - Update
index.html. - Update
main.ts.
In this sample we are going to learn a basic concept, handling properties.
We will take a startup point sample 01 Hello VueJS.
Summary steps:
- Update
App.vuewith and input element. - Use
v-modeldirective. - Create our first component.
- Passing properties from
main.tstohello.ts. - Other approach to work with properties.
In this sample we are going to create a login page.
We will take a startup point sample 02 Properties.
Summary steps:
- Delete
Hello.vue. - Update
App.vue. - Update
index.html. - Create
loginpage. - Configure router navigation.
- Create
recipe listpage. - Create
LoginEntitymodel. - Create fake
loginAPI. - Check valid login.
In this sample we are going to create a recipe list page.
We will take a startup point sample 03 Login.
Summary steps:
- Create
recipemodel. - Create fake
recipeAPI. - Create
recipe listpage container. - Update
recipe listpage. - Navigate to
edit recipepage.
In this sample we are going to create a edit recipe page.
We will take a startup point sample 04 Recipe List.
Summary steps:
- Create
APImethods. - Create
pageContainer. - Update
page. - Create
commoncomponents. - Create
edit recipeform. - Add
form validationswithlc-form-validation.
We are an innovating team of Javascript experts, passionate about turning your ideas into robust products.
Basefactor, consultancy by Lemoncode provides consultancy and coaching services.
Lemoncode provides training services.
For the LATAM/Spanish audience we are running an Online Front End Master degree, more info: http://lemoncode.net/master-frontend