Skip to content

raman0716/vue-typescript-admin

Repository files navigation

tsproject

Project setup, use yarn

yarn [install]

Compiles and hot-reloads for development

npm run start / dev

Compiles and minifies for production

npm run build / build:test (depends on .env U choose)

Prettier your tests

npm run prettier

Generate ur route-config

files in pages should be named like user[.id].vue, then generated route-config is
{
   path: "/user[/:id]",
   name: "user",
   component: () => import("@/pages/user[.id].vue"),
}

files in pages should be named like name.txt$.vue, then generated route-config is
{
   path: "/name/:txt?",
   name: "name",
   component: () => import("@/pages/name.txt$.vue"),
}

npm run generate:route / generate:route:watch

i18n

explanatory note in main.ts & shims-tsx.d.ts

About

vue-typescript-admin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages