Just an example project for learning Basic of Vue3. Demo available here https://github.fajarbc.com/learn-vue3-basic/
- Install dependency
npm install
- Copy
.env
to.env.local
cp .env .env.local
- Copy
db-example.json
todb.json
cp db-example.json db.json
- (optional) Copy
json-server-routes-example.json
tojson-server-routes.json
. I need this for the backend servercp json-server-routes-example.json json-server-routes.json
-
Backend
npm run backend
-
Frontend
npm run serve
npm run build
-
Backend (Heroku)
npm start