Skip to content

Commit

Permalink
Fixed issues with Vue template
Browse files Browse the repository at this point in the history
  • Loading branch information
armanio123 committed May 16, 2018
1 parent 3a1b533 commit dc116ff
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>

<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />

<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>$guid1$</ProjectGuid>
<ProjectHome>.</ProjectHome>
<StartupFile>node_modules\@vue\cli-service\bin\vue-cli-service.js</StartupFile>
<StartWebBrowser>True</StartWebBrowser>
<SearchPath></SearchPath>
<WorkingDirectory>.</WorkingDirectory>
<OutputPath>.</OutputPath>
Expand All @@ -26,6 +27,13 @@
<ScriptArguments>serve</ScriptArguments>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>

<ItemGroup>
<Content Include=".babelrc" />
<Content Include="public\favicon.ico" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<VSTemplate Version="3.0.0" Type="Project" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<Name Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4009"/>
<Description Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4010"/>
<Name Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4015"/>
<Description Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4016"/>
<Icon Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="412"/>
<ProjectType>TypeScript</ProjectType>
<TemplateID>Microsoft.TypeScript.VuejsApp</TemplateID>
Expand Down
17 changes: 10 additions & 7 deletions Nodejs/Product/Nodejs/ProjectTemplates/VuejsApp/VuejsApp.njsproj
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>

<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />

<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>$guid1$</ProjectGuid>
<ProjectHome>.</ProjectHome>
<StartupFile>node_modules\@vue\cli-service\bin\vue-cli-service.js</StartupFile>
<StartWebBrowser>True</StartWebBrowser>
<SearchPath></SearchPath>
<WorkingDirectory>.</WorkingDirectory>
<OutputPath>.</OutputPath>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<ProjectTypeGuids>{3AF33F2E-1136-4D97-BBB7-1795711AC8B8};{349c5851-65df-11da-9384-00065b846f21};{9092AA53-FB77-4645-B42D-1CCCA6BD08BD}</ProjectTypeGuids>
<NodejsPort>1337</NodejsPort>
<TypeScriptSourceMap>true</TypeScriptSourceMap>
<TypeScriptModuleKind>CommonJS</TypeScriptModuleKind>
<TypeScriptToolsVersion>$typescriptversion$</TypeScriptToolsVersion>
<EnableTypeScript>true</EnableTypeScript>
<StartWebBrowser>true</StartWebBrowser>
<ScriptArguments>serve</ScriptArguments>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>

<ItemGroup>
<Content Include=".babelrc" />
<Content Include="public\favicon.ico" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<VSTemplate Version="3.0.0" Type="Project" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<Name Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4009"/>
<Description Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4010"/>
<Name Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4015"/>
<Description Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4016"/>
<Icon Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="406"/>
<ProjectType>JavaScript</ProjectType>
<TemplateID>Microsoft.JavaScript.VuejsApp</TemplateID>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<VSTemplate Version="3.0.0" Type="Item" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<Name Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4007"/>
<Description Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4008"/>
<Name Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4013"/>
<Description Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4014"/>
<Icon Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="415"/>
<ProjectType>Node.js</ProjectType>
<DefaultName>component.vue</DefaultName>
<SortOrder>200</SortOrder>
</TemplateData>
<TemplateContent>
<ProjectItem SubType="Code" TargetFileName="$fileinputname$.$fileinputextension$" ReplaceParameters="true">JavaScriptVueComponent.vue</ProjectItem>
<ProjectItem SubType="Code" TargetFileName="$fileinputname$.$fileinputextension$">JavaScriptVueComponent.vue</ProjectItem>
</TemplateContent>
</VSTemplate>
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<VSTemplate Version="3.0.0" Type="Item" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<Name Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4005"/>
<Description Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4006"/>
<Name Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4011"/>
<Description Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="4012"/>
<Icon Package="{FE8A8C3D-328A-476D-99F9-2A24B75F8C7F}" ID="415"/>
<ProjectType>Node.js</ProjectType>
<DefaultName>component.vue</DefaultName>
<SortOrder>200</SortOrder>
</TemplateData>
<TemplateContent>
<ProjectItem SubType="Code" TargetFileName="$fileinputname$.$fileinputextension$" ReplaceParameters="true">TypeScriptVueComponent.vue</ProjectItem>
<ProjectItem SubType="Code" TargetFileName="$fileinputname$.$fileinputextension$">TypeScriptVueComponent.vue</ProjectItem>
</TemplateContent>
</VSTemplate>
58 changes: 29 additions & 29 deletions Nodejs/Product/Nodejs/VSPackage.resx
Original file line number Diff line number Diff line change
Expand Up @@ -418,23 +418,47 @@
<value>Node.js background processing service.</value>
</data>
<data name="4005" xml:space="preserve">
<value>TypeScript Vue Single File Component</value>
<value>JavaScript Jasmine UnitTest file</value>
</data>
<data name="4006" xml:space="preserve">
<value>A TypeScript Vue Single File Component file</value>
<value>A JavaScript Jasmine UnitTest file</value>
</data>
<data name="4007" xml:space="preserve">
<value>JavaScript Vue Single File Component</value>
<value>TypeScript Jasmine UnitTest file</value>
</data>
<data name="4008" xml:space="preserve">
<value>A JavaScript Vue Single File Component file</value>
<value>A TypeScript Jasmine UnitTest file</value>
</data>
<data name="4009" xml:space="preserve">
<value>Basic Vue.js Web Application</value>
<value>JavaScript JSON Configuration File</value>
</data>
<data name="4010" xml:space="preserve">
<value>JSON configuration file for the JavaScript Language Service</value>
</data>
<data name="4011" xml:space="preserve">
<value>TypeScript Vue Single File Component</value>
</data>
<data name="4012" xml:space="preserve">
<value>A TypeScript Vue Single File Component file</value>
</data>
<data name="4013" xml:space="preserve">
<value>JavaScript Vue Single File Component</value>
</data>
<data name="4014" xml:space="preserve">
<value>A JavaScript Vue Single File Component file</value>
</data>
<data name="4015" xml:space="preserve">
<value>Basic Vue.js Web Application</value>
</data>
<data name="4016" xml:space="preserve">
<value>A basic Vue.js Web application.</value>
</data>
<data name="6000" xml:space="preserve">
<value>Launch for Node.js</value>
</data>
<data name="6001" xml:space="preserve">
<value>Debug JavaScript/TypeScript files with Node.js</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="400" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>_BUILDROOT_\Nodejs\Product\Icons\SystemRegisteredICO\NodeJS.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
Expand Down Expand Up @@ -504,28 +528,4 @@
<value>_BUILDROOT_\Nodejs\Product\Icons\AddNewItemICO\StylusSheet.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<comment>{Locked}</comment>
</data>
<data name="4005" xml:space="preserve">
<value>JavaScript Jasmine UnitTest file</value>
</data>
<data name="4006" xml:space="preserve">
<value>A JavaScript Jasmine UnitTest file</value>
</data>
<data name="4007" xml:space="preserve">
<value>TypeScript Jasmine UnitTest file</value>
</data>
<data name="4008" xml:space="preserve">
<value>A TypeScript Jasmine UnitTest file</value>
</data>
<data name="4009" xml:space="preserve">
<value>JavaScript JSON Configuration File</value>
</data>
<data name="4010" xml:space="preserve">
<value>JSON configuration file for the JavaScript Language Service</value>
</data>
<data name="6000" xml:space="preserve">
<value>Launch for Node.js</value>
</data>
<data name="6001" xml:space="preserve">
<value>Debug JavaScript/TypeScript files with Node.js</value>
</data>
</root>

0 comments on commit dc116ff

Please sign in to comment.