-
Couldn't load subscription status.
- Fork 0
Make a skeleton #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
index.html
Outdated
| @@ -0,0 +1,128 @@ | |||
| <!doctype html> | |||
| <html lang="en" class="Fnf-sans-serif -HeaderH16u"> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В ключевых словах Fnf есть системный шрифт - его надо
package.json
Outdated
| }, | ||
| "devDependencies": { | ||
| "@mlut/plugins": "^1.0.3", | ||
| "mlut": "7.1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLI не нужен, если есть плагин
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Итоговый CSS не храним
src/assets/style/style.scss
Outdated
| @@ -1,9 +1,7 @@ | |||
| @use 'mlut' with ( | |||
| $jit: ( | |||
| "output": "src/assets/style/style.css", | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Получается у меня должен быть такой конфиг style.scss:
@use 'mlut';
/* палитра цветов */
vite.config.js
Outdated
|
|
||
| const mlut = vite({ | ||
| input: './src/assets/style/style.scss', | ||
| output: "./src/assets/style/style.css", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А здесь у меня должен быть такой конфиг vite.config.js:
import { vite } from '@mlut/plugins';
import { defineConfig } from 'vite';
const mlut = vite({
input: 'src/assets/style/style.scss',
output: "dist/assets/style.css",
minify: true,
});
export default defineConfig(() => {
return {
plugins: [mlut],
}
});There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Да, такой, как в моем коммите
| <meta charset="UTF-8" /> | ||
| <link rel="icon" href="src/assets/img/favicon.png" type="image/x-icon"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>playground</title> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <title>playground</title> | |
| <title>mlut playground</title> |
No description provided.