0.0.3 • Published 8 months ago

@dan-schel/vike-app-as-npm-package v0.0.3

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Generated with Bati (version 258) using this command:

npm create bati -- --vue --express --eslint --prettier

About this app

This app is ready to start. It's powered by Vike and Vue.

/pages/+config.ts

Such + files are the interface between Vike and your code. It defines:

Routing

Vike's built-in router lets you choose between:

/pages/_error/+Page.vue

The error page which is rendered when errors occur.

/pages/+onPageTransitionStart.ts and /pages/+onPageTransitionEnd.ts

The onPageTransitionStart() hook, together with onPageTransitionEnd(), enables you to implement page transition animations.

SSR

SSR is enabled by default. You can disable it for all your pages or only for some pages.

HTML Streaming

You can enable/disable HTML streaming for all your pages, or only for some pages while still using it for others.