Browse Source

extract site to site directory

master
Marek Piasecki 2 years ago
parent
commit
3aa077fb85
  1. 11
      site/index.html
  2. 5319
      site/package-lock.json
  3. 16
      site/package.json
  4. 0
      site/src/index.js
  5. 0
      site/src/main.imba
  6. 0
      site/src/views.json
  7. 0
      site/src/views/choosing-router-style.imba
  8. 0
      site/src/views/home.imba
  9. 0
      site/src/views/installation.imba
  10. 0
      site/src/views/usage.imba
  11. 7
      site/vite.config.js

11
site/index.html

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Imba Vite Template</title>
</head>
<body>
<script type="module" src="/src/index.js"></script>
</body>
</html>

5319
site/package-lock.json

File diff suppressed because it is too large

16
site/package.json

@ -0,0 +1,16 @@
{
"name": "site",
"version": "0.0.0",
"type": "module",
"scripts": {
"start": "vite",
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"devDependencies": {
"imba": "^2.0.0-alpha.226",
"vite": "^3.2.5",
"vite-plugin-imba": "^0.10.1"
}
}

0
src/index.js → site/src/index.js

0
src/main.imba → site/src/main.imba

0
src/views.json → site/src/views.json

0
src/views/choosing-router-style.imba → site/src/views/choosing-router-style.imba

0
src/views/home.imba → site/src/views/home.imba

0
src/views/installation.imba → site/src/views/installation.imba

0
src/views/usage.imba → site/src/views/usage.imba

7
site/vite.config.js

@ -0,0 +1,7 @@
import { imba } from 'vite-plugin-imba';
import { defineConfig } from 'vite';
export default defineConfig({
base: '',
plugins: [imba()],
});
Loading…
Cancel
Save