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.
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.
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.
- Open Visual Studio Code.
- Go to Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
- Search for "CdnBase" and click Install.
Once installed, you can begin using CDN snippets directly in your code editor.
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!