Skip to content

bencodezen/mastering-pinia--code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hero Image

Requirements

  • Recent Node version. Recommended the latest LTS version (>=18)
  • pnpm >=8.6 required to install the dependencies in this project
  • git > 2.13 required to run the installation script

Setup

Welcome to Mastering Pinia! To get started, run the following command:

npx [email protected] https://esm.is/mastering-pinia

This will create a mastering-pinia-exercises folder with all the exercises in your Home folder. You can pass a different path as --dir or as the last argument to the command to change the location of the folder.

npx [email protected] https://esm.is/mastering-pinia --dir my-folder

Note

This also allows to update the exercises to the latest version by running the same command!

Troubleshooting

  • Sometimes you might get stuck on the $ fetch step:

    Stuck on fetch

    In that case, press Enter to continue.

  • Run with the -v flag to get more information about what is happening

  • If you get a Did you accept the Github invitation? message, try to manually clone the repository:

    git clone https://github.com/MasteringPinia/mastering-pinia--code.git temporary-folder

    Once you can clone it, you should be able to delete that temporary-folder and run the script again.

  • If you get an EACCESS error or a port is already used error, give fkill a try to kill other vitest, vite or even node processes.

Windows

About

Repository for Exercises

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 63.0%
  • Vue 34.1%
  • JavaScript 1.9%
  • Other 1.0%