diff --git a/templates/WebApplicationBasic/.babelrc b/templates/WebApplicationBasic/.babelrc new file mode 100644 index 0000000..c13c5f6 --- /dev/null +++ b/templates/WebApplicationBasic/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["es2015"] +} diff --git a/templates/WebApplicationBasic/.bowerrc b/templates/WebApplicationBasic/.bowerrc deleted file mode 100755 index 78d4e9d..0000000 --- a/templates/WebApplicationBasic/.bowerrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "directory": "wwwroot/lib" -} diff --git a/templates/WebApplicationBasic/.gitignore b/templates/WebApplicationBasic/.gitignore index 0ca27f0..342cf93 100644 --- a/templates/WebApplicationBasic/.gitignore +++ b/templates/WebApplicationBasic/.gitignore @@ -24,8 +24,7 @@ bld/ # Visual Studio 2015 cache/options directory .vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ +/wwwroot/dist/ # MSTest test Results [Tt]est[Rr]esult*/ diff --git a/templates/WebApplicationBasic/ClientApp/App.ts b/templates/WebApplicationBasic/ClientApp/App.ts new file mode 100644 index 0000000..62cce87 --- /dev/null +++ b/templates/WebApplicationBasic/ClientApp/App.ts @@ -0,0 +1,5 @@ +import 'bootstrap/dist/css/bootstrap.css'; +import './css/site.css'; + +// Replace with your TypeScript code +console.log('Hello, world!'); diff --git a/templates/WebApplicationBasic/wwwroot/css/site.css b/templates/WebApplicationBasic/ClientApp/css/site.css similarity index 100% rename from templates/WebApplicationBasic/wwwroot/css/site.css rename to templates/WebApplicationBasic/ClientApp/css/site.css diff --git a/templates/WebApplicationBasic/Views/Home/Index.cshtml b/templates/WebApplicationBasic/Views/Home/Index.cshtml index 7528409..3715261 100755 --- a/templates/WebApplicationBasic/Views/Home/Index.cshtml +++ b/templates/WebApplicationBasic/Views/Home/Index.cshtml @@ -108,3 +108,7 @@ + +@section scripts { + +} diff --git a/templates/WebApplicationBasic/Views/Shared/_Layout.cshtml b/templates/WebApplicationBasic/Views/Shared/_Layout.cshtml index 7b51d44..39d0e3f 100755 --- a/templates/WebApplicationBasic/Views/Shared/_Layout.cshtml +++ b/templates/WebApplicationBasic/Views/Shared/_Layout.cshtml @@ -5,15 +5,8 @@