NPM
NPM is the recommended installation method when building large scale applications with Vue. It pairs nicely with module bundlers such as Webpack or Browserify. Vue also provides accompanying tools for authoring Single File Components.
NPM is the recommended installation method when building large scale applications with Vue. It pairs nicely with module bundlers such as Webpack or Browserify. Vue also provides accompanying tools for authoring Single File Components.
To start the Vue, change the directory to [metronic]/theme/vue/[demo]/
.
cd theme/vue/demo1
Install the Vue local project dependencies by executing npm install
command. This command will install the dependencies in the local node_modules
folder.
By default, npm install
will install all modules listed as dependencies in package.json
.
npm install
Execute npm run serve
command to launch the server, watches your files, and rebuilds the app as you make changes to those files.
Open your browser on http://localhost:8080/.
npm run serve
This command will take some time to finsh. Please wait for it to complete.
For more detailed information to install the Vue application, visit this official Vue documentation website.