Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>cdnbaseNew to Visual Studio Code? Get it now.
cdnbase

cdnbase

Sampath Bandla

|
156 installs
| (1) | Free
Extension with mass amount of CDN links and snippets needed for easy imports
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CdnBase

CDN Base is a versatile Visual Studio Code extension designed to enhance your development workflow by providing a curated selection of Content Delivery Networks (CDNs). This extension simplifies the process of importing external libraries and dependencies, streamlining your development tasks for greater efficiency and productivity.

How to Use

This extension provides several snippets to easily add popular CDNs. Just type the snippet prefix, and the respective CDN link will be added automatically.

For a comprehensive list of all available CDNs, please visit cdnjs.com.

Example Snippets

Below are some sample prefixes for quick CDN imports:

  • cdn:react - Use this for the latest production version of React.
  • cdn:react-dom - Use this for the latest production version of React-DOM.
  • cdn:vue - Use this for the latest version of Vue.js.
  • cdn:bootstrap - Use this for the latest version of Bootstrap JavaScript.

Note: For the latest and complete library list, refer to cdnJS.

Installation

  1. Open Visual Studio Code.
  2. Go to Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
  3. Search for "CdnBase" and click Install.

Once installed, you can begin using CDN snippets directly in your code editor.

Contributing

If you'd like to contribute to this extension or suggest new CDN snippets, please open an issue or create a pull request on the GitHub repository.


Enjoy simplified CDN imports with CdnBase!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft