@martin on slack
I'm a designer-developer dedicated to creating beautiful, functional, inclusive, and accessible web experiences. My expertise is in front end development, design thinking, product prototyping, and technical strategy; I run a practice called Low Tide Consulting.
A big old todo list, which saves todos to the browser’s localStorage
; allowing a user to edit and complete their todos.
-
Project creation using vue-cli
@vue/cli
vue ui
-
Create project
-
Quick demo of
vue ui
- Plugins/Dependencies
- Configuration
- Tasks
- Build and show webpack analysis
-
Code formatting: who cares?
- Add
.prettierrc.js
module.exports = {singleQuote: true,semi: false};
- Add
-
Application structure
public/ndex.html
entrypoint- JavaScript app instantiates in
src/main.js
-
Single file components
App.vue
&HelloWorld
-
Props, Rendering using
{{}}
-
Reactivity in Vue
-
Directives,
v-for
,v-on
,v-bind
,v-model
-
Create
ToDoContainer
component -
Scoped styles
-
Methods
-
Add
localStorage
for data persistencesaveTodo(todo)
methodfetchTodos()
method
npm install
npm run serve
npm run build
Deploy to GitHub Pages
sh deploy.sh
npm run lint
vue ui