Sample Project
Last updated
Last updated
The WireBootstrap for Vue.js solution includes a sample project that demonstrates how to use WireBootstrap in Vue.js applications.
The following sections detail the main parts of the sample project.
The public
directory contains the static run-time elements of a Vue.js application. This directory is the root directory serving the application to a web browser.
index.html
is the page that contains the root Vue.js element and, once rendered, the hierarchy of child elements within.
The sample data used in the project is in a JSON file located at \data\sample-data.json
. The objects that expose this data to components is located in the .
The sample project uses a . These assets are located in the \theme
directory.
The entry point for the Vue.js application is at \src\main.js
.
There are several data functions that serve the to components. These functions are located at \src\sample-data.js
.
The source code for the WireBootstrap Vue Directive is at \src\WireConfigDirective.js
.
Also stored in the \src
directory are the components used to demonstration the different ways in which the WireBootstrap Vue Directive can be used within Vue.js applications.