如何创建静态网站 [英] How to create static web site

查看:77
本文介绍了如何创建静态网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2015社区版中,我想创建一个网站,只包含html/css和javascript.我看不到如何建立这样一个网站.我只能看到动态网站

in visual studio 2015 community edition i want to create a website that does not contain more than html/css and javascript. i can't see how to make such a site. i can see only dynamic sites

推荐答案

在创建新的网站项目时,请确保选择一个空网站项目.然后,您可以根据项目的需要创建/添加HTML/CSS或JS文件.

When creating a new website project, make sure that you choose an Empty Web Site project. You can then create/add your HTML/CSS or JS files according to your project's needs.

此外,您可以通过导出项目并将其添加到VS Project模板来构建自己的项目模板.您可以阅读有关此项目的更多信息 这里.

Also, you can build your own Project Template by exporting your project and add it to the VS Project Template. You can read more about this project here.


这篇关于如何创建静态网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆