This template includes Vue3, Tailwind, PrimeVue, Router, and Pinia Store. Terminal (WIP with node Traversal). Composition Functions for using Modals and Toasts from PrimeVue. Initial setup in place for Node API server. Readme Renderer as well. This repo is hosted on Replit and constantly improving. View Live Demo
See Vite Configuration Reference.
Switch to the shell and run the following to install the packages manually (replit by default will do this for you every time you press the run button).
$ npm install
Pressing the run button will start your project with hot-reload for development by using the following command.
$ npm run dev
Switch to shell and run the following command to run the unit tests.
$ npm run test:unit
Switch to shell and run the following commands to run the Cypress end-to-end tests.
$ npm run build
$ npm run test:e2e
Linting will ensure your code style is consistent.
You can configure all the preferred styles in .eslintrc.cjs
Run the following command in the shell to lint your code.
$ npm run lint
.replit
file. If you do not see this in your files list. Then in your browser's URL, after the #
remove everything and type .replit
, it will look something like this https://replit.com/@username/replname#.replit
..replit
file, modify the run
configuration from npm run dev
to npm run build && npm run preview
.NODE_ENV
and set its value to production
.Now, pressing the run button will generate a new production build and host the app in production mode. Enable Always-On for an even better hosting experience.