penambahan web socket
This commit is contained in:
11
examples/nuxt3-websocket-client/nuxt.config.ts
Normal file
11
examples/nuxt3-websocket-client/nuxt.config.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export default defineNuxtConfig({
|
||||
devtools: { enabled: true },
|
||||
modules: ["@nuxtjs/tailwindcss"],
|
||||
css: ["~/assets/css/main.css"],
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
websocketUrl:
|
||||
process.env.WEBSOCKET_URL || "ws://localhost:8080/api/v1/ws",
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user