wojiaozhangyang / vuero_frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vuero Vue3 - Multipurpose Admin and Webapp Template

cssninja-discord

▶️ Getting started

First of all, Thank you so much for purchasing this template and for being our loyal customer. You are awesome! You are entitled to get free lifetime updates to this product and support from the cssninjaStudio team directly. Vuero is a product built by cssninjaStudio and Digisquad.

Prerequisites

  1. A recent web browser (Chrome, Edge, Firefox, ...)
  2. Nodejs LTS (> 16.x with npm >8) installed
  3. Knowledge with Typescript (> 4.x) (should not be installed globally)
  4. (recommended) VSCode with Volar

Install nodejs

  1. Check if you already have Node.js installed. Run this command in your terminal:
node -v

If node is not installed on your machine, you can go to the official nodejs.org website, and choose the version depending on your operating system:

  1. Enable pnpm with corepack
corepack enable
corepack prepare pnpm@latest --activate

corepack is installed with node from v16.13.x, if your version is below, install it with: npm install -g corepack

To setup the template and start installing project dependencies, run one of the following commands:

# using pnpm (recommended)
pnpm install

Note that you can also use other package manager (npm or yarn) but we recommend using pnpm:

# using npm
npm install

# using yarn
yarn install

🔃 Run a development server

To start the development server, run one of the following commands:

# using pnpm (recommended)
pnpm dev

Using npm or yarn

# using npm
npm run dev

# using yarn
yarn dev

This will run the dev script from the package.json file. You will notice that two servers are started: one for the frontend (vite) and one for the backend (json-server).

Vite is the build tool that we use to compile the frontend code. It replace webpack and vue-cli, used in vue 2 ecosystem. You can only start vite with dev:vite
Read more about it on vitejs.dev

Json-server is a fake REST-API server that we use to simulate the backend. The configuration and the database are in the /json-server directory. You can find how we use it in the /src/pages/messaging-v1.vue file and the /src/composable/useChatApi.ts
You can only start vite with dev:json-server
Read more about it on github.com/typicode/json-server

💡 What to do next ?

Our online documentation is a great place to learn how to use Vuero. We try to keep it mostly up to date, so you can always find the latest information.

We also have a great discord community where you can ask questions and show your work.

We try to keep Vuero dependencies and best practices up to dates. We also take care of user requests, either by implementing requested features, fixing bugs or improving the documentation.

You can also have access to the private github access, so you can view the source code history and submit issues. To do so, create an account and verify your envato purchase on https://cssninja.io/.

Useful links

About

License:Other


Languages

Language:Vue 66.3%Language:TypeScript 22.9%Language:SCSS 7.9%Language:CSS 2.6%Language:JavaScript 0.1%Language:HTML 0.1%Language:Sass 0.0%Language:Shell 0.0%Language:Dockerfile 0.0%