Setting Up a Vue Client
You have now completed the server tasks. Now build the client app in a different folder, written in Vue, which simplifies tasks, such as manipulation of the Document Object Model (DOM) and management of states.
Install the Vue CLI
Just like the webtask CLI, the Vue CLI scaffolds a new Vue project without the hassle of configurations. Run this command line:
Create a Vue Project
Create a Vue project with the CLI you just installed:
Go to the
mini-netflix
folder created by the command in step 1:Test-run the scaffold:
Set Up the Library Dependencies
Specify the libraries for the project by editing your package.json
file to read like this:
Afterwards, run npm install
to download the libraries.
Last updated