mirror of
https://github.com/robonen/canvas-3d.git
synced 2026-03-19 18:34:40 +00:00
Init commit
This commit is contained in:
11
.editorconfig
Normal file
11
.editorconfig
Normal file
@@ -0,0 +1,11 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
.vscode
|
||||
.idea
|
||||
|
||||
node_modules
|
||||
*.log*
|
||||
.nuxt
|
||||
.nitro
|
||||
.cache
|
||||
.output
|
||||
.env
|
||||
dist
|
||||
42
README.md
Normal file
42
README.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# Nuxt 3 Minimal Starter
|
||||
|
||||
Look at the [nuxt 3 documentation](https://v3.nuxtjs.org) to learn more.
|
||||
|
||||
## Setup
|
||||
|
||||
Make sure to install the dependencies:
|
||||
|
||||
```bash
|
||||
# yarn
|
||||
yarn install
|
||||
|
||||
# npm
|
||||
npm install
|
||||
|
||||
# pnpm
|
||||
pnpm install --shamefully-hoist
|
||||
```
|
||||
|
||||
## Development Server
|
||||
|
||||
Start the development server on http://localhost:3000
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## Production
|
||||
|
||||
Build the application for production:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
Locally preview production build:
|
||||
|
||||
```bash
|
||||
npm run preview
|
||||
```
|
||||
|
||||
Checkout the [deployment documentation](https://v3.nuxtjs.org/guide/deploy/presets) for more information.
|
||||
BIN
assets/fonts/formular/Formular-Black.eot
Normal file
BIN
assets/fonts/formular/Formular-Black.eot
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Black.ttf
Normal file
BIN
assets/fonts/formular/Formular-Black.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Black.woff
Normal file
BIN
assets/fonts/formular/Formular-Black.woff
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Black.woff2
Normal file
BIN
assets/fonts/formular/Formular-Black.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-BlackItalic.eot
Normal file
BIN
assets/fonts/formular/Formular-BlackItalic.eot
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-BlackItalic.ttf
Normal file
BIN
assets/fonts/formular/Formular-BlackItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-BlackItalic.woff
Normal file
BIN
assets/fonts/formular/Formular-BlackItalic.woff
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-BlackItalic.woff2
Normal file
BIN
assets/fonts/formular/Formular-BlackItalic.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Bold.eot
Normal file
BIN
assets/fonts/formular/Formular-Bold.eot
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Bold.ttf
Normal file
BIN
assets/fonts/formular/Formular-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Bold.woff
Normal file
BIN
assets/fonts/formular/Formular-Bold.woff
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Bold.woff2
Normal file
BIN
assets/fonts/formular/Formular-Bold.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-BoldItalic.eot
Normal file
BIN
assets/fonts/formular/Formular-BoldItalic.eot
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-BoldItalic.ttf
Normal file
BIN
assets/fonts/formular/Formular-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-BoldItalic.woff
Normal file
BIN
assets/fonts/formular/Formular-BoldItalic.woff
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-BoldItalic.woff2
Normal file
BIN
assets/fonts/formular/Formular-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Light.eot
Normal file
BIN
assets/fonts/formular/Formular-Light.eot
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Light.ttf
Normal file
BIN
assets/fonts/formular/Formular-Light.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Light.woff
Normal file
BIN
assets/fonts/formular/Formular-Light.woff
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Light.woff2
Normal file
BIN
assets/fonts/formular/Formular-Light.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-LightItalic.eot
Normal file
BIN
assets/fonts/formular/Formular-LightItalic.eot
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-LightItalic.ttf
Normal file
BIN
assets/fonts/formular/Formular-LightItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-LightItalic.woff
Normal file
BIN
assets/fonts/formular/Formular-LightItalic.woff
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-LightItalic.woff2
Normal file
BIN
assets/fonts/formular/Formular-LightItalic.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Medium.eot
Normal file
BIN
assets/fonts/formular/Formular-Medium.eot
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Medium.ttf
Normal file
BIN
assets/fonts/formular/Formular-Medium.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Medium.woff
Normal file
BIN
assets/fonts/formular/Formular-Medium.woff
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Medium.woff2
Normal file
BIN
assets/fonts/formular/Formular-Medium.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-MediumItalic.eot
Normal file
BIN
assets/fonts/formular/Formular-MediumItalic.eot
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-MediumItalic.ttf
Normal file
BIN
assets/fonts/formular/Formular-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-MediumItalic.woff
Normal file
BIN
assets/fonts/formular/Formular-MediumItalic.woff
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-MediumItalic.woff2
Normal file
BIN
assets/fonts/formular/Formular-MediumItalic.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Regular.eot
Normal file
BIN
assets/fonts/formular/Formular-Regular.eot
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Regular.ttf
Normal file
BIN
assets/fonts/formular/Formular-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Regular.woff
Normal file
BIN
assets/fonts/formular/Formular-Regular.woff
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-Regular.woff2
Normal file
BIN
assets/fonts/formular/Formular-Regular.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-RegularItalic.eot
Normal file
BIN
assets/fonts/formular/Formular-RegularItalic.eot
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-RegularItalic.ttf
Normal file
BIN
assets/fonts/formular/Formular-RegularItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-RegularItalic.woff
Normal file
BIN
assets/fonts/formular/Formular-RegularItalic.woff
Normal file
Binary file not shown.
BIN
assets/fonts/formular/Formular-RegularItalic.woff2
Normal file
BIN
assets/fonts/formular/Formular-RegularItalic.woff2
Normal file
Binary file not shown.
41
assets/styles/_fonts.scss
Normal file
41
assets/styles/_fonts.scss
Normal file
@@ -0,0 +1,41 @@
|
||||
@mixin MakeFont($font-family, $fonts, $base-font-path: '') {
|
||||
@each $font, $weight in $fonts {
|
||||
$font-with-dash: #{$font-family}-#{$font};
|
||||
$font-with-space: #{$font-family} #{$font};
|
||||
$font-with-path: #{$base-font-path}/#{$font-with-dash};
|
||||
|
||||
@font-face {
|
||||
font-family: $font-family;
|
||||
src: url('#{$font-with-path}.eot');
|
||||
src: local('#{$font-with-dash}'), local('#{$font-with-space}'),
|
||||
url('#{$font-with-path}.eot?#iefix') format('embedded-opentype'),
|
||||
url('#{$font-with-path}.woff2') format('woff2'),
|
||||
url('#{$font-with-path}.woff') format('woff'),
|
||||
url('#{$font-with-path}.ttf') format('truetype');
|
||||
font-weight: $weight;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: $font-family;
|
||||
src: url('#{$font-with-path}Italic.eot');
|
||||
src: local('#{$font-with-dash}Italic'), local('#{$font-with-space} Italic'),
|
||||
url('#{$font-with-path}Italic.eot?#iefix') format('embedded-opentype'),
|
||||
url('#{$font-with-path}Italic.woff2') format('woff2'),
|
||||
url('#{$font-with-path}Italic.woff') format('woff'),
|
||||
url('#{$font-with-path}Italic.ttf') format('truetype');
|
||||
font-weight: $weight;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$fonts: (
|
||||
Light: 300,
|
||||
Regular: 400,
|
||||
Medium: 500,
|
||||
Bold: 600,
|
||||
Black: 700,
|
||||
);
|
||||
|
||||
@include MakeFont('Formular', $fonts, '@/assets/fonts/formular');
|
||||
0
assets/styles/_variables.scss
Normal file
0
assets/styles/_variables.scss
Normal file
1
assets/styles/main.scss
Normal file
1
assets/styles/main.scss
Normal file
@@ -0,0 +1 @@
|
||||
@import 'fonts';
|
||||
16
nuxt.config.ts
Normal file
16
nuxt.config.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
||||
export default defineNuxtConfig({
|
||||
css: ['@/assets/styles/main.scss'],
|
||||
vite: {
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
sass: {
|
||||
additionalData: '@import "@/assets/styles/_variables.sass"',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
typescript: {
|
||||
shim: false
|
||||
}
|
||||
})
|
||||
13125
package-lock.json
generated
Normal file
13125
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
16
package.json
Normal file
16
package.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "nuxt build",
|
||||
"dev": "nuxt dev",
|
||||
"generate": "nuxt generate",
|
||||
"preview": "nuxt preview",
|
||||
"postinstall": "nuxt prepare"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nuxt": "3.0.0-rc.11"
|
||||
},
|
||||
"dependencies": {
|
||||
"sass": "^1.55.0"
|
||||
}
|
||||
}
|
||||
9
pages/index.vue
Normal file
9
pages/index.vue
Normal file
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<h1>Hello, Nuxt ✌</h1>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
h1 {
|
||||
font-family: Formular, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
</style>
|
||||
4
tsconfig.json
Normal file
4
tsconfig.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
// https://v3.nuxtjs.org/concepts/typescript
|
||||
"extends": "./.nuxt/tsconfig.json"
|
||||
}
|
||||
Reference in New Issue
Block a user