Skip to content

Commit

Permalink
config preview
Browse files Browse the repository at this point in the history
  • Loading branch information
luanbt21 committed Jun 17, 2024
1 parent 0a5faba commit cc362dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ import Components from 'unplugin-vue-components/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'

export default defineConfig({
preview: {
host: true,
port: 8008,
open: false,
strictPort: true
},
resolve: {
alias: {
'~/': `${path.resolve(__dirname, 'src')}/`
Expand Down

0 comments on commit cc362dd

Please sign in to comment.