https://github.com/tsubasahiga/niraikanai
Vanilla-JS Vite MPA Boilerplate
https://github.com/tsubasahiga/niraikanai
boilerplate vanilla vite
Last synced: about 2 months ago
JSON representation
Vanilla-JS Vite MPA Boilerplate
- Host: GitHub
- URL: https://github.com/tsubasahiga/niraikanai
- Owner: TsubasaHiga
- License: mit
- Created: 2022-09-23T17:25:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T09:16:54.000Z (about 2 years ago)
- Last Synced: 2025-04-01T14:35:18.433Z (2 months ago)
- Topics: boilerplate, vanilla, vite
- Language: TypeScript
- Homepage:
- Size: 576 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Niraikanai
Niraikanai(ニライカナイ)はVite + Vanilla JSで静的サイトを構築する事を想定したボイラープレートです。
- 構成:Vanilla JS
- ビルドツール:Vite
- Node.js:`>=16.15.0`## Feature
- 各種リンター及びフォーマッター(eslint,stylelint,prettier)の標準インストール
- 標準でサイト制作に便利なSass mixinをインストール
- MPA対応
- PostCSSプラグイン採用
- Vanilla JS
- `vite-plugin-handlebars`をインストール済みなのでhtmlにてHandlebarsの記述可## 動作確認環境
``` bash
# macOS
$ sw_vers
ProductName: macOS
ProductVersion: 12.5
BuildVersion: 21G72$ node -v
v16.15.0$ yarn -v
1.22.0# Windows OS
$ ver
Microsoft Windows [Version 10.0.22622.590]$ node -v
v16.15.0$ yarn -v
1.22.18
```## 始め方
### インストール
``` bash
yarn install
```### 開発
``` bash
yarn dev
```### ビルド
``` bash
yarn build
```