I have used vue-cli in
vue init nuxt / express myProject
and,
npm run dev
developed.
but
npm run build
after, the dist file was created.
How can I run a real service in pm2?
(I will be using ubuntu on AWS EC.)
you just need to run your application like this:
pm2 start npm --name "your-project-name" -- start
Check status:
pm2 status
and after restart / stop:
pm2 restart your-project-name pm2 stop your-project-name