Code Monkey home page Code Monkey logo

poetry's Introduction

poetry

安装项目

1.命令窗口输入

npm install

2.vscode 安装eslint插件 3.进入vscode首选项->设置,点击右上角图标打开setting.json,增加如下代码

    "editor.tabSize": 2, //制表符符号eslint
    "javascript.format.insertSpaceBeforeFunctionParenthesis": false, //让函数(名)和后面的括号之间加个空格
    "vetur.format.defaultFormatter.html": "js-beautify-html", //格式化.vue中html
    "vetur.format.defaultFormatter.js": "vscode-typescript", //让vue中的js按编辑器自带的ts格式进行格式化
    "eslint.validate": [

    "javascript",
    "javascriptreact",
    "vue"
    ],
    "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true, // eslint保存自动修复
    "source.fixAll.stylelint": true, // stylelint保存自动修复
    },
    "editor.quickSuggestions": {
        "strings": true
    },
    "eslint.codeAction.showDocumentation": {
        "enable": true
    },
    "diffEditor.ignoreTrimWhitespace": true,

目录结构

src assets-静态资源 components-vue公共组件 router-路由 store-vuex untils-自定义工具 view-页面

运行项目

npm run serve

打包项目

npm run build

其他备注

简体繁体转换

import Chinese from 'chinese-s2t' Chinese.t2s(this.poem.content)

poetry's People

Contributors

chouchoudhunter avatar lauxiaoyan avatar qian-xun-w avatar tangzilin5 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

qian-xun-w

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.