About this plugin
js apps
into WordPress pages and posts. For example, the following shortcode
would inject the ‘demo_posts’ app:
[pl2010_vue app="demo_posts"/]
html. They reside
in a subdirectory bearing the app’s name under the ‘apps’ directory
in the plugin. For the ‘demo_posts’ app, that means:
- WP_PLUGIN_DIR /sc-vue/apps/demo_posts/index.js
- WP_PLUGIN_DIR /sc-vue/apps/demo_posts/index.html
js Javascript file sets up an initialization function for
creating a Vue model. That model controls a <div> DOM element that
html.
js
html. For a more complex and realistic example that uses
js to packs Javascript and styles
js, see apps/demo_posts. Additional details may
php.