Tuto is the short of Tutorial and the best/easier way to start creating a SPA using the best frameworks out there!
- What is Vue?
- Single-File Components
- Reactivity in Depth
- Computed Properties and Watchers
- Props
- Slots
- Vuex Store v3 - Getting Started
- Vue Router v3 - Getting Started
- Jest Unit Tests (πͺπΈ)
- Basic login/logout state definition using Vuex Store v3.x.
- Basic Store configured using Vuex and Persist Plugin (stores/index.js).
- Basic "Home" and "Login" pages defined (src/pages/).
- Basic router configuration defined (/router.js).
- Basic GET request using Axios (Spotify Tracker API). This request needs an Authorization Bearer Token . For security purposes you can just set this token on environment files.
- Environment file example.
- Jest configuration defined.
- API Unit test included.
- Path alias defined (webpack.config.js).
- GitHub actions workflow example defined.
tuto
ββ .babelrc
ββ LICENSE
ββ README.md
ββ babel.config.json
ββ jest.config.js // π Unit tests configuration
ββ jsconfig.json
ββ package-lock.json
ββ package.json
ββ router.js // π§ Handle page routes
ββ src
β ββ App.vue
β ββ assets
β β ββ css
β β β ββ index.css // π¨ Main stylesheet file
β β ββ favicon.ico
β β ββ logo.png
β β ββ screenshots
β β β ββ login.png
β β ββ scripts
β β ββ api.js // π‘ Handle api calls
β ββ components
β β ββ MainSection.vue
β β ββ UserSessionLink.vue
β ββ index.html
β ββ main.js // πͺ΄ Application's entry point
β ββ pages
β ββ Home.vue
β ββ Login.vue
β ββ SpotifyTracker.vue
ββ stores
β ββ index.js // πΎ Save general state of the app
ββ tests // π Unit tests
β ββ unit
β ββ spotify.spec.js
ββ vue.config.js // π¦ Vue framework setup
ββ webpack.config.js // π¦ Bundler setup, alias and more
Install it locally in your project
npm install
npm run dev
npm run test