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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?