Don't want to commit yet?
Have a look at the examples to get a feeling of what Akte looks like, some are even available on Stackblitz.
Getting started with Akte takes a few minutes and consists of two things:
Have a look at the examples to get a feeling of what Akte looks like, some are even available on Stackblitz.
akte.app.ts
1 fileDiscover more configuration options in the app configuration ›
Don't be afraid to make a wrong choice here as you can easily switch between development flavors.
Akte CLI is minimal and only allows you to build your Akte app. Use it over Vite, when you don't need Vite or just want to experiment with Akte.
To run Akte CLI and build your app, just execute your akte.app.ts
file.
Your built app will be available in the dist
directory.
Discover more about the CLI usage in the CLI references ›
Akte integrates with Vite, this allows you to leverage Vite development server and assets processing pipeline to enrich your app.
vite.config.ts
file.akte
to your .gitignore
fileYou're ready to start developing your Akte app through Vite.
Discover more configuration options in the Vite plugin configuration ›
Well done! Whether you opted for the CLI or Vite, you're ready to start developing with Akte.
Akte also works with plain JavaScript! While most of the snippets in the documentation are TypeScript, don't be afraid of them. Everything works the same way or is indicated so when otherwise~ ↩
You can omit html-minifier-terser
if you don't want HTML to be minified by Akte. You will need to disable explicitly the minifyHTML
option of the Vite plugin, see its configuration. ↩