Front End: Vue3, Vite, Css...
Directus APP uses Vue 3, TypeScript, built with Vite. This article records front-end related knowledge learned during the evaluation of the Directus APP. 1. Vite Build tool, similar to webpack. 1.1. Principle Uses the browser’s ES6 module loading function, so front-end can load JS modules on demand. During development, bundling is not needed. <script type="module" src="./foo.js"></script> The above module-type loaded foo.js can also import other modules and export. Browsers recognize import and export commands in JS and will send requests to the backend to load on demand. ...