-
-
Notifications
You must be signed in to change notification settings - Fork 3
9.7.0 Setting up Vue.js as a library
DA edited this page Nov 4, 2022
·
7 revisions
Vue.js is a progressive framework that can be used as a simple library or as a fully integrated framework to support larger applications.
Using Vue.js as a library provides developers with a quick and easy way to use many of the Vue features. Caligrafy values the progressive nature of Vue and provides a quick way to scaffold an application structure that allows developers to build Vue applications and connect them with the Caligrafy server-side database.
- Create a Vue-enabled Caligrafy application
In order to set up Vue.js as library, use caligrafer to run the following command in the terminal:
.bin/caligrafer app <name of your application>
// OR
php caligrafer.php app <name of your application>
Your Vue-enabled app is now created and can be found in the public
folder.
- Run a Vue-enabled Caligrafy application
The Vue-enabled Caligrafy application can be run from your browser at the following address:
http://localhost/apps/<name of your application>