Giter VIP home page Giter VIP logo

vue-star-bg's Introduction

基于Vue 3 + TypeScript + Vite的canvas 动态星空背景

星空动态背景

在线预览点这里

模板使用 Vue 3 的 <script setup> SFCs, 查看 script setup 文档了解更多信息.

推荐 IDE 设置

在ts中类型支持导入对.vue

默认情况下,TypeScript不能处理.vue导入的类型信息,所以我们用vue-tsc替换tsc CLI来进行类型检查。 在编辑器中,我们需要TypeScript Vue Plugin (Volar)来让TypeScript语言服务察觉到.vue类型。

如果你觉得独立的TypeScript插件不够快,Volar还实现了一个性能更高的Take Over Mode(接管模式)。您可以通过以下步骤启用它:

  1. 禁用内置的TypeScript扩展
    1. 从VSCode的命令模式运行Extensions: Show Built-in Extensions
    2. 找到 TypeScript and JavaScript Language Features, 点击鼠标右键选择Disable (Workspace)
  2. 通过从命令面板运行Developer: Reload Window来重新加载VSCode窗口。

vue-star-bg's People

Contributors

cbtpro avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.