Skip to content

A repository of Cruip's guides & tutorials made with Vue and Tailwind CSS

Notifications You must be signed in to change notification settings

cruip/cruip-tutorials-vue

Repository files navigation

Cruip Tutorials made with Vue and Tailwind CSS

Welcome to the repository of Cruip's guides & tutorials for Vue. Here you will find the code for all the components we have developed and will develop, made in TypeScript, and ready to be integrated into your projects.

If you're new to our articles, we recommend taking a look here: Tailwind CSS Tutorials. If you're new to Cruip's ecosystem, learn more about our Tailwind CSS templates.

Tutorial list

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Terms of use

We want you to get the most out of these resources, so here's what you need to know:

  1. Usage Freedom: You are free to use these tutorials and demos for any purpose. Whether it's for personal projects, educational endeavors, or even commercial purposes, go ahead and make the most of them!

  2. Respect Our Work: While you're free to use the tutorials and demos as-is, you are not allowed to redistribute them or create derivative works with the aim of making money. Let's keep it fair and respect each other's efforts.

  3. Attribute and Share the Love: We kindly ask that you provide attribution when you use our work. It's easy, just retain any copyright notices or credits you find in the code. It helps spread the word about our project and allows others to discover these valuable resources too.

  4. Be Creative: We love to see what you can do with our work! Feel free to create remixes or derivative works for non-commercial purposes. Play around, experiment, and have fun, as long as you stick to the same license terms.

That's it! We believe in empowering the community with knowledge and resources, and we hope these tutorials and demos help you on your journey to creating fantastic projects with Tailwind CSS.

If you have any questions or just want to say hello, don't hesitate to reach out to us at Cruip.com.

Happy coding! 🚀