{ "info": { "author": "Matt Dodge", "author_email": "mattedgod@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# PointOfVue\n\nA simple, opinionated way to incorporate VueJS into your Django applications\n\n## Installation\n\n```\npip install PointOfVue\n```\n\nAdd `pointofvue` to your Django installed apps:\n```python\nINSTALLED_APPS = [\n # other apps ...\n 'pointofvue',\n]\n```\n\n## Basic Usage\n\nIn your view, import `pointofvue` and send a `pointofvue.VueContext` instance to your template\n```python\nimport pointofvue\n\ndef view_handler(request):\n vue_ctx = pointofvue.VueContext()\n vue_ctx.set_data('var1', 'My value')\n\n return render(request, 'template.html', {\n vue_ctx: vue_ctx,\n })\n```\n\nIn your template, write your Vue code in a `#app` element and use `${` and `}` for accessing Vue data. Then load the `pointofvue` templates and call the `{% vue %}` tag with your `VueContext` to load VueJS and create an app.\n\n```html\n