I made this template to create a starting point when developing apps that expose a NodeJS Backend with a VueJS Frontend, including HMR (Hot Module Reload) and Webpack bundling in the server. The starting code is as similar as the one given by vue create
. The development server also features automatic reloading of the server code using Nodemon.
It includes the following options enabled for Vue: TypeScript, Babel, Webpack, Jest, and PWA.
npm install
npm run dev
npm run build
npx cross-env NODE_ENV=production npm run start
npm run test:unit
npm run lint