The fastest way to develop full-stack web apps with React & Node.js.
Brings Wasp AI from the CLI, new Auth, and big changes in the project structure (restructuring).
Check out https://github.com/wasp-lang/wasp/tree/8e8f61073c42af5741ef9d404824ec1d7b7f3d96/waspc/examples/todo-typescript for an example of an app that works with it.
Docs, Wasp AI, starter templates, ... -> these all still need updating.
0.12 with new auth and AI, no restructuring yet, also not well tested.
You can now serve the client from a subdirectory. This is useful if you want to serve the client from a subdirectory of your domain, e.g. https://example.com/my-app/
.
To do this, you need to add the client.baseDir
property to your .wasp
file:
app todoApp {
// ...
client: {
baseDir: "/my-app",
},
}
migrations
dir.You can now customise the Vite config for your client app. This allows you to add plugins, change the dev server settings and more.
By adding a vite.config.ts
or vite.config.js
to your client
directory, you can customise the Vite config. For example, you change the dev server behaviour
not to open the browser automatically:
import { defineConfig } from 'vite'
export default defineConfig({
server: {
open: false,
},
})
⚠️ Be careful when changing the dev server port, you'll need to update the WASP_WEB_CLIENT_URL
env var in your .env.server
file.
Running wasp studio
in the root of your project starts Wasp Studio which visualises your application and shows you the relationships between pieces of your app. It is an experimental feature which is not yet fully ready, but we are working on it and will be adding more features to it in the future.