Initializing a Vue Project via Windows Command Prompt
Before establishing a new application, verify that the runtime environment supports Node.js. Check availability using version queries:
node -v
npm -v
Proceed to install the CLI utility globally if it is not already registered on the machine:
npm install -g @vue/cli
Open the shell interface and transition to the target storage path where the source code will reside. An example trajectory involves switching drives and changing directories:
C:
cd Dev/projects/vuetest
Trigger the project generation sequence by specifying the directory name:
vue create web-application
During this interatcion, you may choose between the standard preset or manually select modules like linting tools and CSS preprocessors. Allow the process to finish downloading libraries and organizing the directory tree.
Enter the newly created folder and start the hot-reload server:
cd web-application
npm run serve
Access the running service in your browser at the localhost address provided in the terminal output.