This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<link rel="icon" href="/favicon.ico" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Your Project Name</title> | |
</head> | |
<body> | |
<div id="app"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineConfig } from 'vite' | |
import vue from '@vitejs/plugin-vue' | |
// https://vitejs.dev/config/ | |
export default defineConfig({ | |
plugins: [vue()] | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"source": ["tokens/properties/**/*.json"], | |
"platforms": { | |
"scss": { | |
"transformGroup": "scss", | |
"buildPath": "tokens/build/", | |
"files": [{ | |
"destination": "_variables.scss", | |
"format": "scss/variables" | |
}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineConfig } from 'vite' | |
import vue from '@vitejs/plugin-vue' | |
// https://vitejs.dev/config/ | |
export default defineConfig({ | |
plugins: [vue()], | |
css: { | |
preprocessorOptions: { | |
scss: { | |
additionalData: ` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
stories: [ | |
"../src/**/*.stories.mdx", | |
"../src/**/*.stories.@(js|jsx|ts|tsx)" | |
], | |
addons: [ | |
"@storybook/addon-links", | |
"@storybook/addon-essentials" | |
], | |
core: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import vue from 'rollup-plugin-vue' | |
import { terser } from 'rollup-plugin-terser' | |
import postcss from 'rollup-plugin-postcss' | |
module.exports = [ | |
{ | |
input: 'src/index.js', | |
output: [ | |
{ | |
sourcemap: true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<h1>{{ text }}</h1> | |
</template> | |
<script> | |
import { defineComponent } from "vue"; | |
export default defineComponent({ | |
props: { | |
text: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//.tokens/properties/colors | |
{ | |
"color": { | |
"success": { | |
"darkest" : { | |
"value": "#004020", | |
"comment": "the darkest sucess color" | |
}, | |
"dark" : { | |
"value": "#007339", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//.src/assets/styles/_flex.scss | |
.d { | |
&-iflex { | |
display: inline-flex !important; | |
} | |
&-flex { | |
display: flex !important; | |
} | |
} |
OlderNewer