8000 GitHub - sylhare/VueJS: Experiments on vue.js
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sylhare/VueJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue.js

Experiments on vue.js

Vue Cli

Vue Cli is a tool to kickstart your vue project with npm or yarn (the FB version of NPM).

To run the project, you can follow each readme, don't forget to npm install before.

All the npm commands can be configured through the package.json file.

Make it nice

You can use Bulma styled components with Buefy they will integrate nicely with your vue.js app

You can find more about Bulma to build the css.

Test it

Vue.js can be unit tested and end to end tested with some tools.

Unit testing

I have been using jest with vue-test-utils for the unit testing because most of vue.js tests example are written using jest annotation. The vue test utils is installed with vue and have a nice documentation attached.

End to end testing

So far I have seen but not really used two:

  • Cypress
  • Nightwatch but as of now this one seems to have critical security flaw (when I npm audit the one I have used and can't update / fix)

Tips

Some line to add in scripts in your package.json

When Jest is jammed and you want to clear the cache:

// npm run clear_jest
"clear_jest": "jest --clearCache"

When linting why not easy fix trailing spaces and other noise errors using:

// npm run lint
"lint": "eslint --fix . --ext .js,.vue src test/unit test/e2e/specs"

Sources

Here are some links:

About

Experiments on vue.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0