Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zagaran/silica-vue
https://github.com/zagaran/silica-vue
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zagaran/silica-vue
- Owner: zagaran
- License: mit
- Created: 2021-10-18T22:05:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-08T17:41:36.000Z (about 2 years ago)
- Last Synced: 2024-04-26T16:06:24.771Z (9 months ago)
- Language: JavaScript
- Size: 1.34 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Silica Vue
This repository contains the Vue 2 implementation of [Django-Silica](https://www.github.com/zagaran/django-silica).
To see how to build a custom renderer, see the [sample project](https://www.github.com/sample-django-silica-app). This repo is very much
an in-progress project; to suggest changes or assist, please contact [[email protected]](mailto:[email protected]).## Import via CDN (UNPKG)
The easiest way to import `silica-vue` over CDN is to use UNPKG. To do so, add the following script tag to any page
you want to use `silica-vue`:
``Note that `silica-vue` only runs natively in browsers which support ES6 or higher. If you need to support legacy browsers
e.g. IE11, you should use any of the many tools available to transpile `silica-vue.es.js` to a supported format. We
recommend [babel](https://www.babeljs.io) and [browserify](https://www.browserify.org).## Build from source
You may choose to install `silica-vue` as an NPM library and build it yourself before including it in your django static files. This is very simple:
1. Run `npx vite build`
2. Copy `/dist/silica-vue.umd.js` to your project's static files folder
3. Import it as you would any other UMD library## Documentation
There is a combined documentation repository for all Silica libraries located at [Silica-Docs](https://www.github.com/zagaran/silica-docs).