![]() ![]() Install Vite and initialise the project with: The create-vite tool will also create the project folder for you, so just make sure to cd into the parent folder first: They also support Yarn and PNPM as package managers, but we’ll only cover NPM. We’re going to use the official create-vite scaffolding tool to setup the project structure so make sure you have Node 12+ installed with NPM 6+. If you're eager to get right down to it, just get the project up and running with: git clone For all accounts and purposes, the application we’ll build here can be deployed as a static website. There is no server side component per se, although the data is loaded using the browser Fetch API (the successor of XHR) so a backend component could be easily added. One last thing that needs to be mentioned is that the backend is not covered in this tutorial. Some of the topics listed above could be expanded into entire tutorials of their own, but for now I am covering only what’s needed to have everything up and running. This may seem like a lot but I think it’s perfectly possible to go through all of it in less than 20 minutes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |