├── .gitignore ├── LICENSE.md ├── README.md ├── sample-web-site ├── Bin │ └── VueJSWebForms.dll ├── Web.config ├── car.vue ├── index.html ├── sample-servertemplate.aspx ├── sample-vue-file.aspx └── sample-vuejs.aspx └── src ├── Module1.vb ├── My Project ├── Application.Designer.vb ├── Application.myapp ├── AssemblyInfo.vb ├── Resources.Designer.vb ├── Resources.resx ├── Settings.Designer.vb └── Settings.settings ├── ServerTemplate.vb ├── VueApp.vb ├── VueComponent.vb ├── VueFilesToJS.vb ├── VueJSWebForms.sln └── VueJSWebForms.vbproj /.gitignore: -------------------------------------------------------------------------------- 1 | src/obj/ 2 | src/bin/ 3 | *.suo 4 | src/.vs/ 5 | *.user 6 | .vs/ 7 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Jesper Høy 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Vue.js ASP.NET Web Forms Helpers 2 | 3 | This library (.NET Framework 4.5) contains 3 ASP.NET Web Forms controls to simplify integrating Vue.js and .vue files with ASP.NET Web Forms. 4 | 5 | It is based on and includes the [VueFilesToJS library](https://github.com/jesperhoy/VueFilesToJS). 6 | 7 | ## How to use 8 | 9 | [Download the "VueJSWebForms.dll" file](https://github.com/jesperhoy/VueJSWebForms/releases) and drop this into your ASP.NET web site's "bin" folder. 10 | 11 | Or install via [NuGet](https://www.nuget.org/packages/jesperhoy.VueJSWebForms) - search for "jesperhoy.VueJSWebForms". 12 | 13 | You can reference the library at the top of each Web Forms page like this: 14 | 15 | ```ASP 16 | <%@ Page ... %> 17 | <%@ Register Assembly="VueJSWebForms" Namespace="VueJSWebForms" TagPrefix="vue" %> 18 | ``` 19 | 20 | Or you can reference it globally in the `web.config` file: 21 | 22 | ```XML 23 | 24 | 25 | 26 | 27 | 28 | ``` 29 | 30 | And then use the controls with .vue files like this: 31 | 32 | ```HTML 33 | 34 | 35 | 36 | ``` 37 | 38 | Or with simple in-line templates like this: 39 | 40 | ```HTML 41 | 42 |
  • This {{make}} is {{(new Date()).getFullYear() - year}} years old.
  • 43 |
    44 | 45 | 46 |
      47 | 48 |
    49 |
    50 | ``` 51 | 52 | Or with in-line templates in .vue file format like this: 53 | 54 | ```HTML 55 | 56 | 59 | 64 | 65 | 66 | 67 |