template-webpack

Template for building basic Svelte applications with webpack

  • 所有者: sveltejs/template-webpack
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

svelte app

This is a project template for Svelte apps. It lives at https://github.com/sveltejs/template-webpack.

To create a new project based on this template using degit:

npx degit sveltejs/template-webpack svelte-app
cd svelte-app

Note that you will need to have Node.js installed.

Get started

Install the dependencies...

cd svelte-app
npm install

...then start webpack:

npm run dev

Navigate to localhost:8080. You should see your app running. Edit a component file in src, save it, and the page should reload with your changes.

Deploying to the web

With now

Install now if you haven't already:

npm install -g now

Then, from within your project folder:

now

As an alternative, use the Now desktop client and simply drag the unzipped project folder to the taskbar icon.

With surge

Install surge if you haven't already:

npm install -g surge

Then, from within your project folder:

npm run build
surge public

主要指标

概览
名称与所有者sveltejs/template-webpack
主编程语言JavaScript
编程语言CSS (语言数: 4)
平台
许可证
所有者活动
创建于2017-12-11 00:04:46
推送于2023-06-26 12:16:54
最后一次提交2023-06-26 14:16:54
发布数0
用户参与
星数305
关注者数13
派生数117
提交数50
已启用问题?
问题数21
打开的问题数4
拉请求数10
打开的拉请求数4
关闭的拉请求数16
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?