Present
Future
Past
Vue builds the HTML you serve to clients
No server application
Frontend separate from backend
Vue enhances server templates
Rapid development
Vue's webpack template
Feature-packed: top-class dev workflow!
Fully customizable
Read the template docs!
Built-in support
Catch runtime errors before they happen
Ensure consistent code across your app
Automatically fix many style violations
vue/recommended will enforce the official style guide
import { shallow } from 'vue-test-utils'
import AppButton from '@components/app-button'
describe('Component: AppButton', () => {
it('renders a button element with a title', () => {
const c = shallow(AppButton, {
propsData: {
title: 'Hello!'
}
})
const el = c.find('button')
expect(el.textContent.trim()).to.equal('Hello!')
})
})
I'm @chrisvfritz everywhere